summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2019-05-10 20:28:18 +0200
committerAndreas Rammhold <andreas@rammhold.de>2019-06-03 15:05:14 +0200
commit4743ad7392152d3745dee552aebe8a6b67e189a1 (patch)
treebca35860f07cd0a0470f5819e0669b101a8110e8 /nixos
parent1f03f6fc43a6f71b8204adf6cd02fb3685261add (diff)
downloadnixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.tar
nixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.tar.gz
nixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.tar.bz2
nixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.tar.lz
nixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.tar.xz
nixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.tar.zst
nixpkgs-4743ad7392152d3745dee552aebe8a6b67e189a1.zip
nixos/tests/radicale: be a bit more permissive when matching logs
With the systemd update to v242 five lines are not longer sufficient to
verify that the storage was verified. In order to reduce future test
failures increasing it to 10 lines sounds like a sane amount.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/radicale.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/radicale.nix b/nixos/tests/radicale.nix
index bf22fc9291a..60796425564 100644
--- a/nixos/tests/radicale.nix
+++ b/nixos/tests/radicale.nix
@@ -85,7 +85,7 @@ in
       $radicale->succeed('mv /tmp/collections-new/collection-root /tmp/collections');
       $radicale->succeed('${switchToConfig "radicale2_verify"} >&2');
       $radicale->waitUntilFails('systemctl status radicale');
-      my ($retcode, $logs) = $radicale->execute('journalctl -u radicale -n 5');
+      my ($retcode, $logs) = $radicale->execute('journalctl -u radicale -n 10');
       if ($retcode != 0 || index($logs, 'Verifying storage') == -1) {
         die "Radicale 2 didn't verify storage"
       }