Hello community, here is the log from the commit of package python-oslo.log for openSUSE:Factory checked in at 2018-03-22 12:03:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.log (Old) and /work/SRC/openSUSE:Factory/.python-oslo.log.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.log" Thu Mar 22 12:03:33 2018 rev:12 rq:589127 version:3.36.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.log/python-oslo.log.changes 2018-03-19 23:35:57.914576117 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.log.new/python-oslo.log.changes 2018-03-22 12:09:16.444733529 +0100 @@ -1,0 +2,5 @@ +Tue Mar 20 10:37:16 UTC 2018 - [email protected] + +- add 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch (bsc#1085568) + +------------------------------------------------------------------- New: ---- 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.log.spec ++++++ --- /var/tmp/diff_new_pack.63jJFI/_old 2018-03-22 12:09:17.420698546 +0100 +++ /var/tmp/diff_new_pack.63jJFI/_new 2018-03-22 12:09:17.428698259 +0100 @@ -24,6 +24,8 @@ Group: Development/Languages/Python Url: https://launchpad.net/oslo.log Source0: https://files.pythonhosted.org/packages/source/o/oslo.log/oslo.log-3.36.0.tar.gz +# https://review.openstack.org/#/c/554180/ +Patch0: 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python2-mock >= 2.0.0 ++++++ 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch ++++++ >From 3e9e78fc7e335d60aec11d7ac93ff7c343343a86 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold <[email protected]> Date: Mon, 19 Mar 2018 10:41:28 +0100 Subject: [PATCH] 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 --- oslo_log/tests/unit/test_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.16.2
