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 3454f65 commit af8863a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit af8863a

Please sign in to comment.