From 83e98337f99b663dd721f315c9142483e80d0291 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 20 Nov 2021 21:20:13 -0600 Subject: [PATCH] fix flaky --- .../EnableSslConfigurationDefaultContextIntegrationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/springframework/data/gemfire/config/annotation/EnableSslConfigurationDefaultContextIntegrationTests.java b/src/test/java/org/springframework/data/gemfire/config/annotation/EnableSslConfigurationDefaultContextIntegrationTests.java index df15820ca..1f4ffe719 100644 --- a/src/test/java/org/springframework/data/gemfire/config/annotation/EnableSslConfigurationDefaultContextIntegrationTests.java +++ b/src/test/java/org/springframework/data/gemfire/config/annotation/EnableSslConfigurationDefaultContextIntegrationTests.java @@ -71,7 +71,8 @@ private void assertGemFirePropertiesCorrectlySet(Properties gemfireProperties) { assertThat(gemfireProperties).isNotNull(); assertThat(gemfireProperties.getProperty("ssl-ciphers")).isEqualTo("FISH Scream SEAL SNOW"); - assertThat(gemfireProperties.getProperty("ssl-enabled-components")).isEqualTo("server,gateway"); + assertThat(gemfireProperties.getProperty("ssl-enabled-components").equals("server,gateway") + || gemfireProperties.getProperty("ssl-enabled-components").equals("gateway,server")).isTrue(); assertThat(gemfireProperties.getProperty("ssl-default-alias")).isEqualTo("TestCert"); assertThat(gemfireProperties.getProperty("ssl-gateway-alias")).isEqualTo("WanCert"); assertThat(gemfireProperties.getProperty("ssl-keystore")).isEqualTo("/path/to/keystore.jks");