Skip to content

Disable Hazelcast network join auto-detection in tests #2117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

vpavic
Copy link
Contributor

@vpavic vpavic commented Aug 11, 2022

At present, Hazelcast configurations used in tests disable multicast join but leave network join auto-detection enabled. This can cause issues with parallel test execution on machines that have bigger number of CPU cores/threads.

This commit updates Hazelcast configurations used in tests to disable network join auto-detection and thus ensure no network join method ends up being enabled.


Before making these changes, a number of Hazelcast tests regularly fail on my desktop (Ryzen 5 5600X with 6 cores/12 threads).

Update:
I would hold off merging this for now because I plan to also try and see if other supported branches are affected by the same issue.

@rwinch
Copy link
Member

rwinch commented Aug 19, 2022

Thanks @vpavic Can you try rebasing to see if that fixes the build?

@vpavic
Copy link
Contributor Author

vpavic commented Aug 19, 2022

It did for me locally. Let me force push that to the remote.

At present, Hazelcast configurations used in tests disable multicast join but leave network join auto-detection enabled. This can cause issues with parallel test execution on machines that have bigger number of CPU cores/threads.

This commit updates Hazelcast configurations used in tests to disable network join auto-detection and thus ensure no network join method ends up being enabled.
@vpavic vpavic force-pushed the fix-hazelcast-config branch from 5707f90 to 312b3aa Compare August 19, 2022 16:39
@vpavic
Copy link
Contributor Author

vpavic commented Aug 19, 2022

The build is green on the CI as well now.

@rwinch rwinch added this to the 3.0.0-M3 milestone Aug 19, 2022
@rwinch rwinch self-assigned this Aug 19, 2022
@rwinch rwinch added type: bug A general bug in: hazelcast in: build An issue in the build and removed in: hazelcast labels Aug 19, 2022
@rwinch rwinch merged commit 38a87e0 into spring-projects:3.0.x Aug 19, 2022
@rwinch
Copy link
Member

rwinch commented Aug 19, 2022

Thanks this is now merged into 3.0.x

@vpavic vpavic deleted the fix-hazelcast-config branch August 19, 2022 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: build An issue in the build type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants