mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Increase timeout in test-logprof.py
On (terribly, but real-world) slow buid hosts, running test-logprof.py fails with a timeout. Increase the timeout so that even those build hosts get enough time to finish the aa-logprof tests.
This commit is contained in:
parent
b45c10d4de
commit
dd9b7b358f
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class TestLogprof(AATest):
|
|||
self.process.stdin.close()
|
||||
self.process.stdout.close()
|
||||
self.process.terminate()
|
||||
self.process.wait(timeout=0.2)
|
||||
self.process.wait(timeout=0.3)
|
||||
|
||||
def _run_test(self, params, expected):
|
||||
auditlog = './logprof/%s.auditlog' % params
|
||||
|
@ -96,7 +96,7 @@ class TestLogprof(AATest):
|
|||
raise Exception('Unknown line in json log %s: %s' % (jsonlog, line))
|
||||
|
||||
# give logprof some time to write the updated profile and terminate
|
||||
self.process.wait(timeout=0.2)
|
||||
self.process.wait(timeout=0.3)
|
||||
self.assertEqual(self.process.returncode, 0)
|
||||
|
||||
for file in expected:
|
||||
|
|
Loading…
Add table
Reference in a new issue