Skip to content
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

fix flaky test in EnableSslConfigurationDefaultContextIntegrationTests #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CharlesZKQ
Copy link

In org/springframework/data/gemfire/config/annotation/EnableSslConfigurationDefaultContextIntegrationTests.java, the test sslAnnotationBasedClientConfigurationIsCorrect() is flaky due to the non-deterministic property of HashSet() document, which is used when creating the object of ConfigurableApplicationContext. I fixed it by trying to compare two possible orders, if it satisfy either one, it will pass the test.

@CharlesZKQ CharlesZKQ changed the title fix flaky fix flaky in EnableSslConfigurationDefaultContextIntegrationTests Nov 21, 2021
@CharlesZKQ CharlesZKQ changed the title fix flaky in EnableSslConfigurationDefaultContextIntegrationTests fix flaky test in EnableSslConfigurationDefaultContextIntegrationTests Nov 21, 2021
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants