Skip to content

Disable email recording when verifying timeouts - #3167

Open
labkey-adam wants to merge 2 commits into
release26.7-SNAPSHOTfrom
26.7_fb_disable_dumbster
Open

Disable email recording when verifying timeouts#3167
labkey-adam wants to merge 2 commits into
release26.7-SNAPSHOTfrom
26.7_fb_disable_dumbster

Conversation

@labkey-adam

@labkey-adam labkey-adam commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Rationale

AdminConsoleTest.testEmailTimeoutSettings() started failing intermittently in 26.8+, showing that the timeout settings were not always present. This test is passing regularly in 26.7. I believe a small MailHelper refactor in 26.8 caused a change in behavior; now, when email recording is on, the "test email" page shows the dumbster configuration (which lacks timeout properties) instead of the application.properties configuration (which includes them by default). This is likely the behavior we want in the "test email" page, so this changes the test to shut off email recording if it's on. And then restores it after verifying.

The change is not technically needed for 26.7, but it doesn't hurt to disable/re-enable there.

Also, "admin" is not a module, so remove that reference from AbstractAdminConsoleTest.java.

Related Pull Requests

Tasks 📍

  • Claude Code Review
  • Code Review @labkey-tchad
  • TeamCity Review and Merge
  • Merge Test Fix to 26.8?
  • Verify Test Fix (once merged forward) @labkey-tchad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant