Frage

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??

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top