From 2fa9c7c4df202fc9f1e40aaad874a71aa9d9b351 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Sun, 11 Jul 2021 09:48:56 +0200 Subject: [PATCH] tests: update fts indexer log messages --- tests/external.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/external.nix b/tests/external.nix index 7c87664..ba97815 100644 --- a/tests/external.nix +++ b/tests/external.nix @@ -489,12 +489,10 @@ pkgs.nixosTest { client.fail("search Junk a >&2") # check that search really goes through the indexer server.succeed( - "journalctl -u dovecot2 | grep -E 'indexer-worker.* Mailbox INBOX: Indexed' >&2" + "journalctl -u dovecot2 | grep -E 'indexer-worker.* Mailbox INBOX: Mailbox opened because: indexing' >&2" ) # check that Junk is not indexed - server.fail( - "journalctl -u dovecot2 | grep -E 'indexer-worker.* Mailbox JUNK: Indexed' >&2" - ) + server.fail("journalctl -u dovecot2 | grep 'indexer-worker' | grep -i 'JUNK' >&2") with subtest("no warnings or errors"): server.fail("journalctl -u postfix | grep -i error >&2")