From 508ace452de2b6ee7ff9c37b2542bdd01774dad5 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sat, 9 Nov 2024 19:50:38 +0100 Subject: [PATCH] test-logprof: Increase timeout once more Builds for risc64 are much slower than on other architectures (4-5 seconds with qemu-user or on Litchi Pi 4A). Since the timeout is only meant as a safety net, increase it generously, and hopefully for the last time. Fixes: https://gitlab.com/apparmor/apparmor/-/issues/463 --- utils/test/test-logprof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/test/test-logprof.py b/utils/test/test-logprof.py index 886bc4fe1..f82179844 100644 --- a/utils/test/test-logprof.py +++ b/utils/test/test-logprof.py @@ -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.4) + self.process.wait(timeout=10) self.assertEqual(self.process.returncode, 0) for file in expected: