commit a35776d337493b14d2937f0f4a03aa4b119d018b
Author: Russell Bryant <email address hidden>
Date: Wed Jan 22 12:09:11 2014 -0500
Make test_different_fname_concurrency less racy
This test case makes a bad assumption about when a greenthread will run
and signal its done event. The test code yields once using a sleep and
expects that the done event will get signaled before the test code runs
again. This may not be the case. Instead, yield up to 10 times waiting
for the done event to occur.
I was not able to reproduce this failure locally, but we're seeing it
regularly in CI. It seems that this should resolve it.
Reviewed: https:/ /review. openstack. org/68443 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a35776d3374 93b14d2937f0f4a 03aa4b119d018b
Committed: https:/
Submitter: Jenkins
Branch: master
commit a35776d337493b1 4d2937f0f4a03aa 4b119d018b
Author: Russell Bryant <email address hidden>
Date: Wed Jan 22 12:09:11 2014 -0500
Make test_different_ fname_concurren cy less racy
This test case makes a bad assumption about when a greenthread will run
and signal its done event. The test code yields once using a sleep and
expects that the done event will get signaled before the test code runs
again. This may not be the case. Instead, yield up to 10 times waiting
for the done event to occur.
I was not able to reproduce this failure locally, but we're seeing it
regularly in CI. It seems that this should resolve it.
Change-Id: I978ae9eef5bb1a c296055dc161340 6e4284a625f
Closes-bug: #1270654