mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
support/testing/test/init/test_systemd_selinux.py: use timeout argument for emulator.login
self.emulator.timeout_multiplier *= 10 is equivilent to 60 * 10 or 600. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b1d554b9a7
commit
c9316f21c7
@@ -21,9 +21,9 @@ class TestSELinuxSystemd(infra.basetest.BRTest):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def wait_boot(self):
|
def wait_boot(self):
|
||||||
# The complete boot with systemd takes more time than what the default multipler permits
|
# The complete boot with systemd takes more time than what the
|
||||||
self.emulator.timeout_multiplier *= 10
|
# default typically allows
|
||||||
self.emulator.login()
|
self.emulator.login(timeout=600)
|
||||||
|
|
||||||
def run_tests(self, fstype):
|
def run_tests(self, fstype):
|
||||||
kernel = os.path.join(self.builddir, "images", "bzImage")
|
kernel = os.path.join(self.builddir, "images", "bzImage")
|
||||||
|
|||||||
Reference in New Issue
Block a user