Skip to content

Commit

Permalink
Clean Shutdown test: Remove check for the "Shutting down..." line in …
Browse files Browse the repository at this point in the history
…FTL log as this is now only printed when debug logging is on

Signed-off-by: Adam Warner <[email protected]>
  • Loading branch information
PromoFaux committed Sep 13, 2024
1 parent 2823d1d commit ead9c18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ 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

0 comments on commit ead9c18

Please sign in to comment.