forked from pool/python-Glances
Accepting request 865064 from home:Andreas_Schwab:Factory
- unitest-wait-for-server.patch: increase time to wait for server to start OBS-URL: https://build.opensuse.org/request/show/865064 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glances?expand=0&rev=24
This commit is contained in:
parent
1762190de5
commit
10bf2872dd
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 16:04:11 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- unitest-wait-for-server.patch: increase time to wait for server to start
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 22 22:13:50 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Glances
|
||||
#
|
||||
# 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
|
||||
@ -29,6 +29,7 @@ Patch0: adjust-data-files.patch
|
||||
Patch1: remove-shebang.patch
|
||||
Patch2: skip-online-tests.patch
|
||||
Patch3: fix-tests.patch
|
||||
Patch4: unitest-wait-for-server.patch
|
||||
BuildRequires: %{python_module bottle}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module psutil >= 5.6.3}
|
||||
|
13
unitest-wait-for-server.patch
Normal file
13
unitest-wait-for-server.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: glances-3.1.5/unitest-xmlrpc.py
|
||||
===================================================================
|
||||
--- glances-3.1.5.orig/unitest-xmlrpc.py
|
||||
+++ glances-3.1.5/unitest-xmlrpc.py
|
||||
@@ -59,7 +59,7 @@ class TestGlances(unittest.TestCase):
|
||||
args = shlex.split(cmdline)
|
||||
pid = subprocess.Popen(args)
|
||||
print("Please wait...")
|
||||
- time.sleep(1)
|
||||
+ time.sleep(5)
|
||||
|
||||
self.assertTrue(pid is not None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user