summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorlbonn <lbonn@users.noreply.github.com>2018-03-26 14:12:27 +0200
committerGitHub <noreply@github.com>2018-03-26 14:12:27 +0200
commit7ce65035d63107605e07ecb1d923be63ecaa1ec9 (patch)
tree52271f7c10f5b306cdb3b484b3625a0b3882f90d /lib
parent156074d9533acf88f102a07701591a4532d007db (diff)
parent313278d88fddcc9441f7eacf2e5578d3a19cf8ff (diff)
downloadmeta-updater-7ce65035d63107605e07ecb1d923be63ecaa1ec9.tar.gz
Merge pull request #278 from advancedtelematic/feat/udp-socket-activation
UDP Socket activation for discovery service
Diffstat (limited to 'lib')
-rw-r--r--lib/oeqa/selftest/cases/updater.py4
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