summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases/testutils.py
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-09 12:06:22 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-17 18:28:28 +0200
commit8837fe8267d8eb108aecab9ebc7ea8a1270a9f24 (patch)
tree378c6bbf78a9a627aa00a044814692dd1617401c /lib/oeqa/selftest/cases/testutils.py
parent4ab468bc0cb76f5d13b24af35e0d7746a0c035ad (diff)
downloadmeta-updater-8837fe8267d8eb108aecab9ebc7ea8a1270a9f24.tar.gz
Fix some oe-selftest timeouts issues
Was causing problems on CI Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib/oeqa/selftest/cases/testutils.py')
-rw-r--r--lib/oeqa/selftest/cases/testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oeqa/selftest/cases/testutils.py b/lib/oeqa/selftest/cases/testutils.py
index e67f30c..208f822 100644
--- a/lib/oeqa/selftest/cases/testutils.py
+++ b/lib/oeqa/selftest/cases/testutils.py
@@ -61,7 +61,7 @@ def qemu_bake_image(imagename):
61 bitbake(imagename) 61 bitbake(imagename)
62 62
63 63
64def qemu_send_command(port, command, timeout=60): 64def qemu_send_command(port, command, timeout=120):
65 command = ['ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@localhost -p ' + 65 command = ['ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@localhost -p ' +
66 str(port) + ' "' + command + '"'] 66 str(port) + ' "' + command + '"']
67 s2 = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 67 s2 = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)