mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-04-19 16:01:14 +00:00
Add test to check if log contains warnings
This commit is contained in:
parent
74c64514e2
commit
2db07ece64
1 changed files with 5 additions and 0 deletions
|
@ -91,3 +91,8 @@ load 'bats/bats-assert/load'
|
|||
run bash -c "sudo docker-compose exec $batsContainerName /bin/bash -c \"/entrypoint.bash check\" | grep 'deprecated' -A 3"
|
||||
assert_failure
|
||||
}
|
||||
|
||||
@test "Should not have warnings in log" {
|
||||
run bash -c "sudo docker-compose logs $batsContainerName | grep -E \"warn\""
|
||||
assert_failure
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue