Description
When the race condition in PeriodicExecutor is hit, test_replica_set_reconfig.TestSecondaryAdded.test_client may fail with this error:
========================================
|
FAIL: test_client (test_replica_set_reconfig.TestSecondaryAdded)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "/mnt/jenkins/workspace/mongo-python-driver/extensions/with-extensions/label/linux64/mongodb_configuration/single_server/mongodb_option/noauth/mongodb_server/30-release/python_language_version/2.6/test/test_replica_set_reconfig.py", line 160, in test_client
|
'reconnect to both secondaries')
|
File "/mnt/jenkins/workspace/mongo-python-driver/extensions/with-extensions/label/linux64/mongodb_configuration/single_server/mongodb_option/noauth/mongodb_server/30-release/python_language_version/2.6/test/utils.py", line 305, in wait_until
|
raise AssertionError("Didn't ever %s" % success_description)
|
AssertionError: Didn't ever reconnect to both secondaries
|