Without this, mongod retry logic in the various services started as
commands fails to behave as expected and does not reconnect as soon as
the mongod service has returned to availability.
In addition to the mongod sleep there are two other time.sleep calls
that may be reached by this change. Review and discussion with others
indicates that their behavior will continue to be correct with the
monkeypatch in place.
Reviewed: https:/ /review. fuel-infra. org/13640 ci/fuel- 6.1/2014. 2
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 198da766de4d39f abd1ba52a80e1df a4aeb2f5d6
Author: Nadya Shakhat <email address hidden>
Date: Wed Nov 11 19:00:21 2015
Have eventlet monkeypatch the time module
Without this, mongod retry logic in the various services started as
commands fails to behave as expected and does not reconnect as soon as
the mongod service has returned to availability.
In addition to the mongod sleep there are two other time.sleep calls
that may be reached by this change. Review and discussion with others
indicates that their behavior will continue to be correct with the
monkeypatch in place.
Cherry-pick from https:/ /review. openstack. org/#/c/ 176751/
Closes-Bug: 1510916
Change-Id: I899066be6f65b8 c8a202e3d994c5b 81533e5a5e4