From af8863a156cb7bc21ebe558f58173aa5f516f711 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 13 Sep 2024 18:23:14 +0100 Subject: [PATCH] Clean Shutdown test: Remove check for the "Shutting down..." line in FTL log as this is now only printed when debug logging is on Signed-off-by: Adam Warner --- test/tests/test_general.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/test_general.py b/test/tests/test_general.py index 1da05792..c926f2a1 100644 --- a/test/tests/test_general.py +++ b/test/tests/test_general.py @@ -21,8 +21,8 @@ def test_pihole_ftl_clean_shutdown(docker): sleep 5 killall --signal 15 start.sh sleep 5 - grep 'jmpret\|terminated' /var/log/pihole/FTL.log + grep 'terminated' /var/log/pihole/FTL.log """ ) - assert "INFO: Shutting down... // exit code 0 // jmpret 0" in func.stdout assert "INFO: ########## FTL terminated after" in func.stdout + assert "(code 0)" in func.stdout