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-15 15:28:26 +0200
commitfb18cff2f90f5206528f25bf76b93ada7880b787 (patch)
treedceac93015ae9a23e5ee11b12c08e7b852faf4a8 /lib/oeqa/selftest/cases/testutils.py
parenteeaa391f3043bcf5cf3bd7645792fa6d01ee43c8 (diff)
downloadmeta-updater-fb18cff2f90f5206528f25bf76b93ada7880b787.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)