diff options
author | Thomas Bechtold <tbechtold@suse.com> | 2018-03-19 10:41:28 +0100 |
---|---|---|
committer | Thomas Bechtold <tbechtold@suse.com> | 2018-03-19 10:42:46 +0100 |
commit | 3e9e78fc7e335d60aec11d7ac93ff7c343343a86 (patch) | |
tree | 4fa4e524b5efb978872da2568c4584c448e0d96d | |
parent | bed1d627ff4151c0ac51d7cd8c9b35807f3b1265 (diff) | |
download | oslo-log-3e9e78fc7e335d60aec11d7ac93ff7c343343a86.tar.gz |
Increase sleep time in testsuite to make it more robust
This helps on loaded machines (and such fix the build on s390 in
openSUSE).
Thanks to R. Oertel for providing the fix.
Change-Id: Ia6b9c8f32e2a9d5c2cec826ec26959fba125e181
-rw-r--r-- | oslo_log/tests/unit/test_log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_log/tests/unit/test_log.py b/oslo_log/tests/unit/test_log.py index 553ad10..669081c 100644 --- a/oslo_log/tests/unit/test_log.py +++ b/oslo_log/tests/unit/test_log.py @@ -1355,7 +1355,7 @@ class MutateTestCase(BaseTestCase): mock_fileConfig.reset_mock() # No thread sync going on here, just ensure the mtimes are different - time.sleep(0.1) + time.sleep(1) os.utime(logini, None) self.CONF.mutate_config_files() |