diff options
-rw-r--r-- | meta/lib/oeqa/runtime/cases/systemd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/systemd.py b/meta/lib/oeqa/runtime/cases/systemd.py index 2865887959..5481e1d840 100644 --- a/meta/lib/oeqa/runtime/cases/systemd.py +++ b/meta/lib/oeqa/runtime/cases/systemd.py | |||
@@ -69,8 +69,8 @@ class SystemdBasicTests(SystemdTest): | |||
69 | """ | 69 | """ |
70 | endtime = time.time() + (60 * 2) | 70 | endtime = time.time() + (60 * 2) |
71 | while True: | 71 | while True: |
72 | status, output = self.target.run('SYSTEMD_BUS_TIMEOUT=240s systemctl --state=activating') | 72 | status, output = self.target.run('SYSTEMD_BUS_TIMEOUT=240s systemctl is-system-running') |
73 | if "0 loaded units listed" in output: | 73 | if "running" in output or "degraded" in output: |
74 | return (True, '') | 74 | return (True, '') |
75 | if time.time() >= endtime: | 75 | if time.time() >= endtime: |
76 | return (False, output) | 76 | return (False, output) |