diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/oe_syslog.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index 449df233d1..3a8271a53a 100644 --- a/meta/lib/oeqa/runtime/cases/oe_syslog.py +++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py | |||
@@ -85,6 +85,9 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
85 | msg = "Can't log into syslog. Output: %s " % output | 85 | msg = "Can't log into syslog. Output: %s " % output |
86 | self.assertEqual(status, 0, msg=msg) | 86 | self.assertEqual(status, 0, msg=msg) |
87 | 87 | ||
88 | # There is no way to flush the logger to disk in all cases | ||
89 | time.sleep(1) | ||
90 | |||
88 | status, output = self.target.run('grep foobar /var/log/messages') | 91 | status, output = self.target.run('grep foobar /var/log/messages') |
89 | if status != 0: | 92 | if status != 0: |
90 | if self.tc.td.get("VIRTUAL-RUNTIME_init_manager") == "systemd": | 93 | if self.tc.td.get("VIRTUAL-RUNTIME_init_manager") == "systemd": |