diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2018-09-17 16:27:52 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2018-09-18 10:15:17 +0200 |
commit | b62aa4caee97bc12749a83cb271d2b46d203cdaa (patch) | |
tree | e063663e4e508a604025b16d6796391e000a8040 /lib/oeqa/selftest | |
parent | d0024de06b23d2f295d41fb4f73933d5aad9b077 (diff) | |
download | meta-updater-b62aa4caee97bc12749a83cb271d2b46d203cdaa.tar.gz |
Do not run aktualizr-info --allow-migrate in tests
Diffstat (limited to 'lib/oeqa/selftest')
-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 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') |