tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay#3062
tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay#3062georglauterbach merged 8 commits intomasterfrom
Conversation
Correcting small nitpicks
| local AMAVIS_DEFAULTS_FILE='/etc/amavis/conf.d/20-debian_defaults' | ||
| _run_in_container grep '\$sa_tag_level_deflt' "${AMAVIS_DEFAULTS_FILE}" | ||
| assert_success | ||
| assert_output --partial '= 2.0' | ||
|
|
||
| _run_in_container grep '\$sa_tag2_level_deflt' "${AMAVIS_DEFAULTS_FILE}" | ||
| assert_success | ||
| assert_output --partial '= 6.31' | ||
|
|
||
| _run_in_container grep '\$sa_kill_level_deflt' "${AMAVIS_DEFAULTS_FILE}" | ||
| assert_success | ||
| assert_output --partial '= 6.31' | ||
|
|
||
| _run_in_container grep '\$sa_spam_subject_tag' "${AMAVIS_DEFAULTS_FILE}" | ||
| assert_success | ||
| assert_output --partial "= '***SPAM*** ';" |
There was a problem hiding this comment.
Although, these are the defaults already supplied so I'm not sure how helpful that is vs a test that supplies different default values to ensure they're actually updating the config checked?
EDIT: Oh, I see these were from an existing test that is checking the default config (_and I guess the default ENV values since they're the same 🤷♂️ _).
There was a problem hiding this comment.
Yeah, I just took this from the POP3 test. I don't have the slightest clue why this was in the POP3 test file.. I'd keep it as-is for now.
& change needless adjustment of comments Co-authored-by: Brennan Kinney <[email protected]>
|
@polarathene which tests are you going to tackle next? So that we don't overlap. |
I've got the quota tests being extracted out from After that I'll probably tackle the LDAP one. If you're up for it, |
👍🏼
I can look into that. |
Description
Refactors more tests so that they can be run in parallel.
Type of change
Checklist:
docs/)