Open Bug 1455297 Opened 4 years ago Updated 4 years ago
Stop depending on 'sleep' and arbitrary timeouts in mozbase tests
We use sleeps and arbitrary timeouts in a bunch of places: https://searchfox.org/mozilla-central/search?q=sleep(&case=true®exp=false&path=%5Etesting%2Fmozbase%2F*%2Ftests%2Ftest_ https://searchfox.org/mozilla-central/search?q=timeout%3D&case=true®exp=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.
You need to log in before you can comment on or make changes to this bug.