mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
parent
88773262d8
commit
8e91251d8c
|
@ -197,9 +197,9 @@ load 'test_helper/common'
|
||||||
[[ ${SECONDS} -gt 0 ]]
|
[[ ${SECONDS} -gt 0 ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO investigate why this test fails
|
||||||
@test "wait_for_empty_mail_queue_in_container fails when timeout reached" {
|
@test "wait_for_empty_mail_queue_in_container fails when timeout reached" {
|
||||||
# TODO investigate why these commands fail
|
skip 'disabled as it fails randomly: https://github.com/docker-mailserver/docker-mailserver/pull/2177'
|
||||||
skip 'disabled as it fails randomly: https://github.com/docker-mailserver/docker-mailserver/issues/2176'
|
|
||||||
|
|
||||||
local PRIVATE_CONFIG
|
local PRIVATE_CONFIG
|
||||||
PRIVATE_CONFIG="$(duplicate_config_for_container .)"
|
PRIVATE_CONFIG="$(duplicate_config_for_container .)"
|
||||||
|
@ -228,9 +228,9 @@ load 'test_helper/common'
|
||||||
! TEST_TIMEOUT_IN_SECONDS=0 wait_for_empty_mail_queue_in_container "${CONTAINER_NAME}"
|
! TEST_TIMEOUT_IN_SECONDS=0 wait_for_empty_mail_queue_in_container "${CONTAINER_NAME}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO investigate why this test fails
|
||||||
@test "wait_for_empty_mail_queue_in_container succeeds within timeout" {
|
@test "wait_for_empty_mail_queue_in_container succeeds within timeout" {
|
||||||
# TODO investigate why these commands fail
|
skip 'disabled as it fails randomly: https://github.com/docker-mailserver/docker-mailserver/pull/2177'
|
||||||
skip 'disabled as it fails randomly: https://github.com/docker-mailserver/docker-mailserver/issues/2176'
|
|
||||||
|
|
||||||
local PRIVATE_CONFIG
|
local PRIVATE_CONFIG
|
||||||
PRIVATE_CONFIG="$(duplicate_config_for_container .)"
|
PRIVATE_CONFIG="$(duplicate_config_for_container .)"
|
||||||
|
@ -252,6 +252,6 @@ load 'test_helper/common'
|
||||||
|
|
||||||
# give it some time to clear the queue
|
# give it some time to clear the queue
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
TEST_TIMEOUT_IN_SECONDS=30 wait_for_empty_mail_queue_in_container "${CONTAINER_NAME}"
|
wait_for_empty_mail_queue_in_container "${CONTAINER_NAME}"
|
||||||
[[ ${SECONDS} -gt 0 ]]
|
[[ ${SECONDS} -gt 0 ]]
|
||||||
}
|
}
|
||||||
|
|
|
@ -929,9 +929,9 @@ EOF
|
||||||
assert_output 1
|
assert_output 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO investigate why these commands fail
|
# TODO investigate why this test fails
|
||||||
@test "checking user login: predefined user can login" {
|
@test "checking user login: predefined user can login" {
|
||||||
skip 'disabled as it fails randomly: https://github.com/docker-mailserver/docker-mailserver/issues/2176'
|
skip 'disabled as it fails randomly: https://github.com/docker-mailserver/docker-mailserver/pull/2177'
|
||||||
run docker exec mail /bin/bash -c "doveadm auth test -x service=smtp pass@localhost.localdomain 'may be \\a \`p^a.*ssword' | grep 'passdb'"
|
run docker exec mail /bin/bash -c "doveadm auth test -x service=smtp pass@localhost.localdomain 'may be \\a \`p^a.*ssword' | grep 'passdb'"
|
||||||
assert_output "passdb: pass@localhost.localdomain auth succeeded"
|
assert_output "passdb: pass@localhost.localdomain auth succeeded"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue