Skip to content

[#1826] fix(test): Fix flakiness in AMQ4930Test#1825

Open
gurpartap3697 wants to merge 1 commit intoapache:mainfrom
gurpartap3697:fix/AMQ-4930-flaky-test
Open

[#1826] fix(test): Fix flakiness in AMQ4930Test#1825
gurpartap3697 wants to merge 1 commit intoapache:mainfrom
gurpartap3697:fix/AMQ-4930-flaky-test

Conversation

@gurpartap3697
Copy link
Copy Markdown
Contributor

This PR addresses the flakiness in AMQ4930Test.

Existing test relies on Runtime.freeMemory() and explicit gc() calls, which makes the test flaky due to JVM heap resizing and GC timing variability.

@gurpartap3697 gurpartap3697 changed the title fix(test): Fix flakiness in AMQ4930Test [#1826] fix(test): Fix flakiness in AMQ4930Test Mar 25, 2026
@gurpartap3697 gurpartap3697 force-pushed the fix/AMQ-4930-flaky-test branch from af85ca0 to 0076999 Compare March 25, 2026 07:34
@jbonofre jbonofre self-requested a review March 25, 2026 15:21
@gurpartap3697 gurpartap3697 force-pushed the fix/AMQ-4930-flaky-test branch from 0076999 to 286340b Compare March 25, 2026 16:18
@gurpartap3697
Copy link
Copy Markdown
Contributor Author

Thanks for the feedback — updated the pr with suggested changes.

@gurpartap3697 gurpartap3697 requested a review from jbonofre March 25, 2026 16:25
@jbonofre
Copy link
Copy Markdown
Member

@gurpartap3697 I will merge as soon as CI is happy.

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.

2 participants