mirror of https://github.com/nicolargo/glances
Correct an issue in the RESTFUL unitest. Add delay to the server start
parent
2275a72b94
commit
0a0fed767e
|
@ -91,7 +91,7 @@ class TestGlances(unittest.TestCase):
|
|||
args = shlex.split(cmdline)
|
||||
pid = subprocess.Popen(args)
|
||||
print("Please wait...")
|
||||
time.sleep(1)
|
||||
time.sleep(3)
|
||||
|
||||
self.assertTrue(pid is not None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue