nixos/tests/home-assistant: ignore "Timer got out of sync" error (#40735)

This commit is contained in:
Robert Schütz 2018-05-18 23:06:25 +02:00 committed by GitHub
parent 2355a7f0e4
commit e3a7d55d3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,6 +71,7 @@ in {
print "$log\n";
# Check that no errors were logged
$hass->fail("cat ${configDir}/home-assistant.log | grep -qF ERROR");
# The timer can get out of sync due to Hydra's load, so this error is ignored
$hass->fail("cat ${configDir}/home-assistant.log | grep -vF 'Timer got out of sync' | grep -qF ERROR");
'';
})