Fix false positive test

This commit is contained in:
Keval Kapdee 2024-01-03 23:15:46 +00:00
parent 5295e912bb
commit a31fbf98ed
1 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,8 @@ function teardown_file() {
@test "oauth2: imap connect and authentication works" {
_run_in_container_bash 'nc -vz 0.0.0.0 143'
_run_in_container_bash 'sleep 5'
_run_in_container_bash 'nc -w 1 0.0.0.0 143 < /tmp/docker-mailserver-test/auth/imap-oauth2-auth.txt'
assert_success
assert_output --partial 'Examine completed'
}