swift/test
Christian Schwede 67d545e90f Fix timing test error when rebalancing
The reported timing can be 00:59:59 sometimes, but is still valid. This
will fail in the tests, as seen in [1].

This patch fixes this by mocking the current time, ensuring that the
first two rebalances happen at the same time.

[1] http://logs.openstack.org/97/337297/32/check/gate-swift-python27-ubuntu-xenial/46203f1/console.html#_2017-02-08_07_28_42_589176

Change-Id: I0fd43d5bb13d0e88126f4f6ba14fb87faab6df9c
2017-02-04 05:59:15 +00:00
..
functional ISO 8601 timestamps for tempurl 2017-01-24 17:38:48 +01:00
probe Fix flaky expirer probe test 2017-01-04 12:54:14 -08:00
unit Fix timing test error when rebalancing 2017-02-04 05:59:15 +00:00
__init__.py Raise ValueError if a config section does not exist 2016-12-15 19:49:57 +00:00
sample.conf Merge "Add a note for functional tests with Keystone." 2016-03-18 05:08:10 +00:00