Open Bug 1455297 Opened 3 years ago Updated 3 years ago

Stop depending on 'sleep' and arbitrary timeouts in mozbase tests

Categories

(Testing :: Mozbase, enhancement, P3)

Version 3
enhancement

Tracking

(Not tracked)

People

(Reporter: ahal, Unassigned)

Details

We use sleeps and arbitrary timeouts in a bunch of places:
https://searchfox.org/mozilla-central/search?q=sleep(&case=true&regexp=false&path=%5Etesting%2Fmozbase%2F*%2Ftests%2Ftest_
https://searchfox.org/mozilla-central/search?q=timeout%3D&case=true&regexp=false&path=%5Etesting%2Fmozbase%2F*%2Ftests%2Ftest_

If possible we should re-write those tests to depend on events. In the case of mozrunner/mozprocess, this could possibly be accomplished via output/stop handlers.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.