tests(refactor): Amavis spam_junk_folder.bats + spam_bounced.bats#3036
Merged
polarathene merged 6 commits intodocker-mailserver:masterfrom Jan 29, 2023
Merged
Conversation
Postfix can potentially be ready before Amavis is. This caused test failures as mail was sent before Amavis was ready to process it. Both test cases shared the same test logic, except for the expected location to deliver the spam to. Extracted into a shared test method, and moved the port conditions into there.
Test case descriptions, container names and test prefix are now more descriptive of what is under test here (an ENV for Amavis).
These two tests seem to be related to the same feature. Grouping them into a single test file instead.
Now it can be better shared with the bounce test case.
No changes to code, just cut + paste of the `CONTAINER3_NAME` test case to shift it to the last test case position.
5 tasks
This comment was marked as outdated.
This comment was marked as outdated.
georglauterbach
approved these changes
Jan 28, 2023
casperklein
approved these changes
Jan 29, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Extracted from #3033
Type of change
Checklist: