Hello community,
here is the log from the commit of package python-cotyledon for
openSUSE:Factory checked in at 2018-11-30 16:32:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cotyledon (Old)
and /work/SRC/openSUSE:Factory/.python-cotyledon.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cotyledon"
Fri Nov 30 16:32:09 2018 rev:4 rq:652373 version:1.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cotyledon/python-cotyledon.changes
2018-10-15 09:42:55.827402229 +0200
+++
/work/SRC/openSUSE:Factory/.python-cotyledon.new.19453/python-cotyledon.changes
2018-11-30 16:32:11.181378860 +0100
@@ -1,0 +2,6 @@
+Wed Nov 28 10:36:20 UTC 2018 - Guillaume GARDET <[email protected]>
+
+- Add patch to fix random test failure on ARM:
+ * fix_arm.patch
+
+-------------------------------------------------------------------
New:
----
fix_arm.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cotyledon.spec ++++++
--- /var/tmp/diff_new_pack.OJrFSm/_old 2018-11-30 16:32:11.681378205 +0100
+++ /var/tmp/diff_new_pack.OJrFSm/_new 2018-11-30 16:32:11.681378205 +0100
@@ -26,6 +26,8 @@
Group: Development/Languages/Python
URL: https://github.com/sileht/cotyledon
Source:
https://files.pythonhosted.org/packages/source/c/%{sname}/%{sname}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM: https://github.com/sileht/cotyledon/pull/19
+Patch1: fix_arm.patch
BuildRequires: %{python_module mock}
BuildRequires: %{python_module oslo.config >= 3.14.0}
BuildRequires: %{python_module pytest}
@@ -55,6 +57,7 @@
%prep
%setup -q -n %{sname}-%{version}
+%patch1 -p1
rm tox.ini
%build
++++++ fix_arm.patch ++++++
diff -purN cotyledon-1.7.1.orig/cotyledon/tests/test_functional.py
cotyledon-1.7.1/cotyledon/tests/test_functional.py
--- cotyledon-1.7.1.orig/cotyledon/tests/test_functional.py 2018-11-28
10:41:31.460088479 +0100
+++ cotyledon-1.7.1/cotyledon/tests/test_functional.py 2018-11-28
10:42:43.416679180 +0100
@@ -341,9 +341,9 @@ class TestBadlyCodedCotyledon(Base):
@unittest.skipIf(os.name != 'posix', 'no posix support')
def test_badly_coded(self):
- time.sleep(0.5)
+ time.sleep(2)
self.subp.terminate()
- time.sleep(0.5)
+ time.sleep(2)
self.assertEqual(0, self.subp.poll(), self.get_lines())
self.assertFalse(pid_exists(self.subp.pid))