summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2018-09-17 16:27:52 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-09-21 14:01:44 +0200
commit7f86acc51e2aaa291c9ee66b70b671713b2a1dd8 (patch)
treec67c71267e6a9973495a9c120e7e67723744606d
parente387dcf0f9e0a5275d6a9fe5cc300410a95b00df (diff)
downloadmeta-updater-7f86acc51e2aaa291c9ee66b70b671713b2a1dd8.tar.gz
Do not run aktualizr-info --allow-migrate in tests
-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 1c5a1dc..a3fe407 100644
--- a/lib/oeqa/selftest/cases/updater.py
+++ b/lib/oeqa/selftest/cases/updater.py
@@ -226,8 +226,8 @@ class ManualControlTests(OESelftestTestCase):
226 Disable the systemd service then run aktualizr manually 226 Disable the systemd service then run aktualizr manually
227 """ 227 """
228 sleep(20) 228 sleep(20)
229 stdout, stderr, retcode = self.qemu_command('aktualizr-info --allow-migrate') 229 stdout, stderr, retcode = self.qemu_command('aktualizr-info')
230 self.assertIn(b'Fetched metadata: no', stdout, 230 self.assertIn(b'Can\'t open database', stdout,
231 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) 231 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode())
232 232
233 stdout, stderr, retcode = self.qemu_command('aktualizr --running-mode=once') 233 stdout, stderr, retcode = self.qemu_command('aktualizr --running-mode=once')