[Buildroot] [git commit branch/2023.08.x] support/testing/test/init/test_systemd_selinux.py: use timeout argument for emulator.login
Peter Korsgaard
peter at korsgaard.com
Fri Nov 10 11:48:41 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=f9b20cb21de358d6b3b2266bd541899b4783fa47
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x
self.emulator.timeout_multiplier *= 10 is equivilent to 60 * 10 or 600.
Signed-off-by: Adam Duskett <adam.duskett at amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit c9316f21c7d07bfabccb1ab297773b7b83e217a0)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
support/testing/tests/init/test_systemd_selinux.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/support/testing/tests/init/test_systemd_selinux.py b/support/testing/tests/init/test_systemd_selinux.py
index fab23e3330..e9bb3405cd 100644
--- a/support/testing/tests/init/test_systemd_selinux.py
+++ b/support/testing/tests/init/test_systemd_selinux.py
@@ -21,9 +21,9 @@ class TestSELinuxSystemd(infra.basetest.BRTest):
"""
def wait_boot(self):
- # The complete boot with systemd takes more time than what the default multipler permits
- self.emulator.timeout_multiplier *= 10
- self.emulator.login()
+ # The complete boot with systemd takes more time than what the
+ # default typically allows
+ self.emulator.login(timeout=600)
def run_tests(self, fstype):
kernel = os.path.join(self.builddir, "images", "bzImage")
More information about the buildroot
mailing list