Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous updates to event queue can hang the library #52

Closed
jussimalinen opened this issue Feb 24, 2014 · 1 comment
Closed

Continuous updates to event queue can hang the library #52

jussimalinen opened this issue Feb 24, 2014 · 1 comment

Comments

@jussimalinen
Copy link
Contributor

Several places in SwingLibrary use Jemmy's EventTool.waitNoEvent with time of 200ms. This waits until there is a gap of 200ms during which there are no new events to event queue. The operation timeouts at 3 minutes (!) and fails the keyword call if that happens.

Now if the SUT generates new events for example every 100ms, this of course causes the test to hang for 3 minutes and then to fail.

@jussimalinen
Copy link
Contributor Author

This commit c97d1b0 should fix this issue. Under the hood we will now still wait for that 200ms gap, but for a maximum time of 1 seconds, after which we will continue the execution normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant