From 458b1ff25e136bf8aaa67aca0f241230cf77ce49 Mon Sep 17 00:00:00 2001 From: John Blum Date: Thu, 4 Sep 2014 12:58:11 -0700 Subject: [PATCH] SGF-320 - Disable ClusterConfigurationIntegrationTest.testClusterConfiguration test case. Due to a race condition/bug in the new GemFire 8 Locator Cluster Configuration Service on startup, the race is causing a timing issue for the testClusterConfiguration test case in the CI (Bamboo) env even though the test case runs successfully, locally. These timing issues are despite an appropriate and reasonable wait period setup by the test class where the 'integration-based' test is attempting to coordinate between a forked GemFire Locator process hosting the Cluster Config Service and the test case, which is a peer cache, that uses it. --- .../data/gemfire/CacheClusterConfigurationIntegrationTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java index 259207d9..a802a7a5 100644 --- a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java @@ -30,6 +30,7 @@ import java.util.concurrent.TimeUnit; import org.junit.AfterClass; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestRule; @@ -202,6 +203,8 @@ public class CacheClusterConfigurationIntegrationTest { } @Test + @Ignore + // TODO re-enable the test once the GemFire Cluster Configuration Service race condition has been properly fixed! public void testClusterConfiguration() { ConfigurableApplicationContext applicationContext = newApplicationContext( getLocation("cacheUsingClusterConfigurationIntegrationTest.xml"));