Skip to content

Fix flaky test ResourceGroupConfigIT.testMultipleConfigurations - #6610

Merged
dlmarion merged 2 commits into
apache:mainfrom
Amemeda:6609-flaky-test
Oct 26, 2026
Merged

dlmarion merged 2 commits into
apache:mainfrom
Amemeda:6609-flaky-test

Conversation

@Amemeda

@Amemeda Amemeda commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Fix flaky test ResourceGroupConfigIT.testMultipleConfigurations by increasing wait time in the test from the default 30 milliseconds to 60 milliseconds.

Non issue but also applied code suggestion to change 3 similar wait conditions cc.getServerPaths() .getCompactor(ResourceGroupPredicate.exact(first), AddressSelector.all(), true).size() == 0 to check isEmpty() instead of checking the size is 0.

Closes issue #6609

@DomGarguilo

Copy link
Copy Markdown
Member

I think #6609 was suggesting increasing the wait for just the failing test case specifically instead of the default in Wait.java

@Amemeda

Amemeda commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

Test is passing locally, @dlmarion do you think 60 milliseconds is a good increased wait time? should it be more?

@dlmarion dlmarion left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look good. If 60s is not enough, then we can bump again.

@dlmarion
dlmarion merged commit 537042c into apache:main Oct 26, 2026
8 checks passed
@dlmarion dlmarion linked an issue Oct 26, 2026 that may be closed by this pull request
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.

Flaky test: ResourceGroupConfigIT.testMultipleConfigurations

3 participants