Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2021-08-16 10:08:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyudev.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyudev"

Mon Aug 16 10:08:44 2021 rev:24 rq:911336 version:0.22.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes      
2020-12-16 10:59:24.235506028 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.1899/python-pyudev.changes    
2021-08-16 10:13:19.402976192 +0200
@@ -1,0 +2,5 @@
+Tue Aug 10 12:49:04 UTC 2021 - Matej Cepl <mc...@suse.com>
+
+- Add hypothesis_settings.patch to allow longer timeouts in OBS.
+
+-------------------------------------------------------------------

New:
----
  hypothesis_settings.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyudev.spec ++++++
--- /var/tmp/diff_new_pack.q8sE8J/_old  2021-08-16 10:13:19.798975726 +0200
+++ /var/tmp/diff_new_pack.q8sE8J/_new  2021-08-16 10:13:19.798975726 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyudev
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,9 @@
 Patch0:         pytest_register_mark.patch
 # PATCH-FEATURE_UPSTREAM remove_mock.patch gh#pyudev/pyudev#409
 Patch1:         remove_mock.patch
+# PATCH-FIX-OPENSUSE hypothesis_settings.patch mc...@suse.com
+# tests timeout on OBS
+Patch2:         hypothesis_settings.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes

++++++ hypothesis_settings.patch ++++++
---
 tests/test_enumerate.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/tests/test_enumerate.py
+++ b/tests/test_enumerate.py
@@ -90,7 +90,7 @@ class TestEnumerator(object):
 
     @failed_health_check_wrapper
     @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
-    @settings(max_examples=10)
+    @settings(max_examples=10, deadline=None)
     def test_match_subsystem(self, context, subsystem):
         """
         Subsystem match matches devices w/ correct subsystem.
@@ -126,7 +126,7 @@ class TestEnumerator(object):
 
     @failed_health_check_wrapper
     @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
-    @settings(max_examples=1)
+    @settings(max_examples=1, deadline=500)
     def test_match_subsystem_nomatch_complete(self, context, subsystem):
         """
         Test that w/ respect to the universe of devices returned by

Reply via email to