문제

I have a Simple test case to create a project, this test case works fine , but all of a sudden, at some try the WidgetNotFound exception is thrown!! Restart the test, the exception is not thrown !!

Again after some try WidgetNotFound exception is thrown! Is there any particular reason for this??
This un-expected behaviour happens more often when running test through crontab! Any suggestions on how to avoid it??

도움이 되었습니까?

해결책

The only way I found to get rid of these random failures was to increase the SWTBot timing parameters to:

-Dorg.eclipse.swtbot.playback.poll.delay=500
-Dorg.eclipse.swtbot.playback.delay=400

Sources: http://web.archiveorange.com/archive/v/gEbal1TTOW7KVuq8SCzy

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top