test: increase timeout in test_human_readable_logs.py (#11972)

This commit is contained in:
Wei Zhou 2026-01-30 07:50:44 +01:00 committed by GitHub
parent bac3421da4
commit bb391c3deb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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)