-
-
Notifications
You must be signed in to change notification settings - Fork 2k
[TODO]: Tests - test_helper.bats refactor mailqueue test cases #3768
Copy link
Copy link
Open
Labels
area/testskind/improvementImprove an existing feature, configuration file or the documentationImprove an existing feature, configuration file or the documentationmeta/help wantedThe OP requests help from others - chime in! :DThe OP requests help from others - chime in! :Dservice/postfixstale-bot/ignoreIndicates that this issue / PR shall not be closed by our stale-checking CIIndicates that this issue / PR shall not be closed by our stale-checking CI
Metadata
Metadata
Assignees
Labels
area/testskind/improvementImprove an existing feature, configuration file or the documentationImprove an existing feature, configuration file or the documentationmeta/help wantedThe OP requests help from others - chime in! :DThe OP requests help from others - chime in! :Dservice/postfixstale-bot/ignoreIndicates that this issue / PR shall not be closed by our stale-checking CIIndicates that this issue / PR shall not be closed by our stale-checking CI
Description
This was identified during recent review feedback, that the test cases could probably be refactored:
Presently it's skipped for being unreliable like some other tests have been (Dovecot Quota). The test file also needs to be adapted to our newer test format.
We can configure Postfix to defer mail to a transport, keeping it stuck in the queue until we decide to flush it. This is the main focus of the test-case which relied on unreliable means to try fill the queue up momentarily.
docker-mailserver/test/tests/serial/test_helper.bats
Lines 183 to 192 in aba218e
docker-mailserver/test/tests/serial/test_helper.bats
Lines 215 to 221 in aba218e