mirror of https://github.com/apache/cloudstack.git
test: increase timeout in test_human_readable_logs.py (#11972)
This commit is contained in:
parent
bac3421da4
commit
bb391c3deb
|
|
@ -48,9 +48,9 @@ class TestHumanReadableLogs(cloudstackTestCase):
|
|||
sshClient.execute(command)
|
||||
|
||||
# CapacityChecker runs as soon as management server is up
|
||||
# Check if "usedMem: (" is printed out within 60 seconds while server is starting
|
||||
command = "timeout 60 tail -f /var/log/cloudstack/management/management-server.log | grep 'usedMem: ('"
|
||||
sshClient.timeout = 60
|
||||
# Check if "usedMem: (" is printed out within 120 seconds while server is starting
|
||||
command = "timeout 120 tail -f /var/log/cloudstack/management/management-server.log | grep 'usedMem: ('"
|
||||
sshClient.timeout = 120
|
||||
result = sshClient.runCommand(command)
|
||||
self.assertTrue(result['status'] == "FAILED")
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ class TestHumanReadableLogs(cloudstackTestCase):
|
|||
sshClient.execute(command)
|
||||
|
||||
# CapacityChecker runs as soon as management server is up
|
||||
# Check if "usedMem: (" is printed out within 60 seconds while server is restarting
|
||||
# Check if "usedMem: (" is printed out within 120 seconds while server is restarting
|
||||
command = "timeout 120 tail -f /var/log/cloudstack/management/management-server.log | grep 'usedMem: ('"
|
||||
sshClient.timeout = 120
|
||||
result = sshClient.runCommand(command)
|
||||
|
|
|
|||
Loading…
Reference in New Issue