From 214bb6828ef909f4a6ea61e792c7c715b9c3276f Mon Sep 17 00:00:00 2001 From: Stefan Stanacar Date: Fri, 13 Sep 2013 15:48:18 +0300 Subject: lib/oeqa/runtime: timeout increases Increase the timeout for smart commands as under load for qemumips it's still to small. Also give ping more time fixing a potential timeout for sato systemd. (From OE-Core rev: daa3ad5807f6fc0d15b9310937d07a16edac6d22) Signed-off-by: Stefan Stanacar Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oeqa/runtime/ping.py') diff --git a/meta/lib/oeqa/runtime/ping.py b/meta/lib/oeqa/runtime/ping.py index 935f638891..e163b969f0 100644 --- a/meta/lib/oeqa/runtime/ping.py +++ b/meta/lib/oeqa/runtime/ping.py @@ -9,7 +9,7 @@ class PingTest(oeRuntimeTest): def test_ping(self): output = '' status = None - endtime = time.time() + 30 + endtime = time.time() + 60 while status != 0 and time.time() < endtime: proc = subprocess.Popen("ping -c 1 %s" % oeRuntimeTest.tc.qemu.ip, shell=True, stdout=subprocess.PIPE) output += proc.communicate()[0] -- cgit v1.2.3-54-g00ecf