mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 14:12:21 +03:00
Correct an issue in the RESTFUL unitest. Add delay to the server start
This commit is contained in:
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
Block a user