diff options
Diffstat (limited to 'lib/oeqa')
-rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 0e7c11b..06884e5 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
@@ -544,7 +544,7 @@ class SecondaryTests(OESelftestTestCase): | |||
544 | self.assertEqual(stderr, b'', 'Error: ' + stderr.decode()) | 544 | self.assertEqual(stderr, b'', 'Error: ' + stderr.decode()) |
545 | 545 | ||
546 | def test_secondary_listening(self): | 546 | def test_secondary_listening(self): |
547 | print('Checking aktualizr-secondary is present') | 547 | print('Checking aktualizr-secondary service is listening') |
548 | stdout, stderr, retcode = self.qemu_command('echo test | nc localhost 9030') | 548 | stdout, stderr, retcode = self.qemu_command('echo test | nc localhost 9030') |
549 | self.assertEqual(retcode, 0, "Unable to connect to secondary") | 549 | self.assertEqual(retcode, 0, "Unable to connect to secondary") |
550 | 550 | ||
@@ -591,7 +591,7 @@ def qemu_send_command(port, command): | |||
591 | command = ['ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@localhost -p ' + | 591 | command = ['ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@localhost -p ' + |
592 | str(port) + ' "' + command + '"'] | 592 | str(port) + ' "' + command + '"'] |
593 | s2 = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | 593 | s2 = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
594 | stdout, stderr = s2.communicate() | 594 | stdout, stderr = s2.communicate(timeout=60) |
595 | return stdout, stderr, s2.returncode | 595 | return stdout, stderr, s2.returncode |
596 | 596 | ||
597 | 597 | ||