File unitest-wait-for-server.patch of Package python-Glances

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)
 
openSUSE Build Service is sponsored by