GEODE-1775: annotate test with FlakyTest category
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/f7377ac5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/f7377ac5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/f7377ac5 Branch: refs/heads/feature/GEODE-420 Commit: f7377ac59497e229e0665067bd911d1a6ffdf292 Parents: 2daae4c Author: Kirk Lund <[email protected]> Authored: Mon Aug 15 12:59:07 2016 -0700 Committer: Kirk Lund <[email protected]> Committed: Mon Aug 15 12:59:07 2016 -0700 ---------------------------------------------------------------------- ...llelWANPropagationClientServerDUnitTest.java | 22 ++++---------------- 1 file changed, 4 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f7377ac5/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/parallel/ParallelWANPropagationClientServerDUnitTest.java ---------------------------------------------------------------------- diff --git a/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/parallel/ParallelWANPropagationClientServerDUnitTest.java b/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/parallel/ParallelWANPropagationClientServerDUnitTest.java index f87475e..2e84c4e 100644 --- a/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/parallel/ParallelWANPropagationClientServerDUnitTest.java +++ b/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/parallel/ParallelWANPropagationClientServerDUnitTest.java @@ -16,34 +16,20 @@ */ package com.gemstone.gemfire.internal.cache.wan.parallel; -import org.junit.experimental.categories.Category; import org.junit.Test; - -import static org.junit.Assert.*; - -import com.gemstone.gemfire.test.dunit.cache.internal.JUnit4CacheTestCase; -import com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase; -import com.gemstone.gemfire.test.junit.categories.DistributedTest; +import org.junit.experimental.categories.Category; import com.gemstone.gemfire.internal.cache.wan.WANTestBase; -import com.gemstone.gemfire.test.dunit.AsyncInvocation; +import com.gemstone.gemfire.test.junit.categories.DistributedTest; +import com.gemstone.gemfire.test.junit.categories.FlakyTest; -/** - * - */ @Category(DistributedTest.class) public class ParallelWANPropagationClientServerDUnitTest extends WANTestBase { - private static final long serialVersionUID = 1L; - - public ParallelWANPropagationClientServerDUnitTest() { - super(); - } /** * Normal happy scenario test case. - * - * @throws Exception */ + @Category(FlakyTest.class) // GEODE-1775: fails intermittently @Test public void testParallelPropagationWithClientServer() throws Exception { Integer lnPort = (Integer)vm0.invoke(() -> WANTestBase.createFirstLocatorWithDSId( 1 ));
