Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-fritzconnection
increase-timeout-for-obs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File increase-timeout-for-obs.patch of Package python-fritzconnection
Index: fritzconnection-1.4.2/fritzconnection/tests/test_fritzmonitor.py =================================================================== --- fritzconnection-1.4.2.orig/fritzconnection/tests/test_fritzmonitor.py +++ fritzconnection-1.4.2/fritzconnection/tests/test_fritzmonitor.py @@ -333,7 +333,7 @@ def test_terminate_thread_on_failed_reco fm = FritzMonitor() fm.start(sock=mock_socket, reconnect_delay=0.001, reconnect_tries=tries) # give thread some time: - time.sleep(0.01) + time.sleep(1) if success: assert fm.is_alive is True else: @@ -357,7 +357,7 @@ def test_restart_failed_monitor(): sock=socket, reconnect_delay=0.001, reconnect_tries=5 ) # set default explicit for clarity # give socket some time to lose connection: - time.sleep(0.01) + time.sleep(1) assert fm.is_alive is False assert fm.stop_flag.is_set() is False # dont' call stop here!
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor