python-Glances/unitest-wait-for-server.patch

14 lines
440 B
Diff
Raw Permalink Normal View History

Index: glances-3.3.1/unitest-xmlrpc.py
===================================================================
--- glances-3.3.1.orig/unitest-xmlrpc.py
+++ glances-3.3.1/unitest-xmlrpc.py
@@ -54,7 +54,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)