mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
support/testing/tests/package/test_lxc.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>
(cherry picked from commit 4889ac89b8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f9b20cb21d
commit
8208fbb393
@@ -33,9 +33,9 @@ class TestLxc(infra.basetest.BRTest):
|
||||
self.assertRunOk(cmd, 120)
|
||||
|
||||
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 setup_run_test_container(self):
|
||||
self.run_ok("lxc-create -n lxc_iperf3 -t none -f /usr/share/lxc/config/minimal-iperf3.conf")
|
||||
|
||||
Reference in New Issue
Block a user