Skip to content

fix(test): remove @Test annotation as @Disabled was not enough in CI,…#6988

Merged
mathias-vandaele merged 1 commit into
mainfrom
removing-test-annoation
Apr 20, 2026
Merged

fix(test): remove @Test annotation as @Disabled was not enough in CI,…#6988
mathias-vandaele merged 1 commit into
mainfrom
removing-test-annoation

Conversation

@mathias-vandaele
Copy link
Copy Markdown
Collaborator

This pull request makes a small change to the email connector integration tests by disabling a flaky test that intermittently fails due to issues with the GreenMail IMAP handler.

Copilot AI review requested due to automatic review settings April 17, 2026 13:11
@mathias-vandaele mathias-vandaele requested a review from a team as a code owner April 17, 2026 13:11
@mathias-vandaele mathias-vandaele self-assigned this Apr 17, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to stabilize CI for the email connector by effectively removing a flaky integration test that intermittently fails due to GreenMail IMAP handler uncaught exceptions (tracked in #6819).

Changes:

  • Prevents execution of pollingManagerBreaksAndRecoverAfterServerNotResponding by commenting out its @Test annotation.

Tracked in: https://github.com/camunda/connectors/issues/6819
""")
@Test
// @Test
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting out @Test leaves a @Disabled annotation that no longer has any effect (JUnit only applies it to discovered tests), and the commented-out annotation is easy to miss/accidentally re-enable. Prefer either (a) removing the @Test line entirely and converting the @Disabled(...) block into a regular comment, or (b) keeping @Test and relying on @Disabled(...) so the skip reason remains visible in test reports.

Suggested change
// @Test
@Test

Copilot uses AI. Check for mistakes.
@mathias-vandaele mathias-vandaele added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit e276cd3 Apr 20, 2026
31 of 34 checks passed
@mathias-vandaele mathias-vandaele deleted the removing-test-annoation branch April 20, 2026 07:01
@mathias-vandaele
Copy link
Copy Markdown
Collaborator Author

/backport

@team-connectors-int-automation
Copy link
Copy Markdown
Contributor

Backport failed for stable/8.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin stable/8.8
git worktree add -d .worktree/backport-6988-to-stable/8.8 origin/stable/8.8
cd .worktree/backport-6988-to-stable/8.8
git switch --create backport-6988-to-stable/8.8
git cherry-pick -x e276cd3c4cab086b04cf8526a65622df1e7490a0

@team-connectors-int-automation
Copy link
Copy Markdown
Contributor

mathias-vandaele added a commit that referenced this pull request Apr 22, 2026
… still being ran (#6988) (#7018)

(cherry picked from commit e276cd3)

Co-authored-by: Mathias Vandaele <mathias.vandaele@camunda.com>
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This pull request has been included in release 8.9.2!

Thank you for your contribution! 🚀

@github-actions github-actions Bot added the version:8.9.2 Released in version 8.9.2 label Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This pull request has been included in release 8.10.0-alpha1!

Thank you for your contribution! 🚀

@github-actions github-actions Bot added the version:8.10.0-alpha1 Released in version 8.10.0-alpha1 label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport stable/8.8 backport stable/8.9 version:8.9.2 Released in version 8.9.2 version:8.10.0-alpha1 Released in version 8.10.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants