about summary refs log tree commit diff
path: root/nixos/tests/home-assistant.nix
diff options
context:
space:
mode:
authorRobert Schütz <rschuetz17@gmail.com>2018-05-18 23:06:25 +0200
committerGitHub <noreply@github.com>2018-05-18 23:06:25 +0200
commite3a7d55d3e6bf6243fafcd102ccb886bdb495a1b (patch)
treed73e1f3517664358e789ed0374e16a8fddd17797 /nixos/tests/home-assistant.nix
parent2355a7f0e401043bcc83b4baf6c7142adcc2b0fe (diff)
downloadnixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.tar
nixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.tar.gz
nixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.tar.bz2
nixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.tar.lz
nixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.tar.xz
nixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.tar.zst
nixlib-e3a7d55d3e6bf6243fafcd102ccb886bdb495a1b.zip
nixos/tests/home-assistant: ignore "Timer got out of sync" error (#40735)
Diffstat (limited to 'nixos/tests/home-assistant.nix')
-rw-r--r--nixos/tests/home-assistant.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix
index 3d920dccc166..797706a062ca 100644
--- a/nixos/tests/home-assistant.nix
+++ b/nixos/tests/home-assistant.nix
@@ -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");
   '';
 })