spring-data-gemfire
spring-data-gemfire copied to clipboard
fix flaky test in EnableSslConfigurationDefaultContextIntegrationTests
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.