File unitest-wait-for-server.patch of Package python-Glances
Index: glances-4.5.0/tests/test_xmlrpc.py
===================================================================
--- glances-4.5.0.orig/tests/test_xmlrpc.py
+++ glances-4.5.0/tests/test_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)