assertj / assertj-swing

Fluent assertions for Swing apps
Other
108 stars 52 forks source link

Stop checking conditions if the condition should have timed out. #153

Closed michaelfletcheratwork closed 9 years ago

michaelfletcheratwork commented 9 years ago

If a condition will never be satisfied the thread will loop forever until the JVM exits or some other error occurs.

This should fix https://github.com/joel-costigliola/assertj-swing/issues/152.

It seemed to not cause any additional test failures however the tests were not all passing before this change. I was using a remote desktop connection and this has been flakey for me in the past. I can retry on Monday when I will be nearer my actual computer.

croesch commented 9 years ago

Thank you very much! Merged.