# HG changeset patch # User hodgestar # Date 1253919352 0 # Node ID 86e946ced5a0baae68aef3c302ed69c9e6b15775 # Parent a51af1f06e46e1c7643852c61feb7dc878a9b42a Separate thread start times slightly to avoid odd errors (not ideal but it avoids this test failing for reasons unrelated to what it's testing). diff --git a/bitten/tests/queue.py b/bitten/tests/queue.py --- a/bitten/tests/queue.py +++ b/bitten/tests/queue.py @@ -291,7 +291,9 @@ thread1 = threading.Thread(target=build_populator) thread2 = threading.Thread(target=build_populator) - thread1.start(); thread2.start() + # tiny sleep is to avoid odd segementation faults + # (on Linux) and bus errors (on Mac OS X) + thread1.start(); time.sleep(0.01); thread2.start() thread1.join(); thread2.join() # check builds got added