Yelp / Testify

A more pythonic testing framework.
Other
306 stars 67 forks source link

fix flakey test by starting sql-reporter thread lazily #267

Closed bukzor closed 10 years ago

bukzor commented 10 years ago

This command reliably reproduced the flake beforehand, but not now:

yes | xargs -P10 --replace sh -c 'testify test.plugins.sql_reporter_test RetryTestCase.test_can_fail; CODE=$?; echo $CODE; exit $?' |& egrep -v '^(PASSED|SQL connection|\.|0|.* 0 failed|$|\(Total test)'

asottile commented 10 years ago

seems fine

asottile commented 10 years ago

:shipit:

ymilki commented 10 years ago

wfm