geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [02/16] incubator-geode git commit: GEODE-1775: annotate test with FlakyTest category
Date Wed, 17 Aug 2016 00:27:08 GMT
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/8011ff0e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/8011ff0e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/8011ff0e

Branch: refs/heads/feature/GEODE-1781
Commit: 8011ff0ecfa929f3d52d6889909e3d802cabeab9
Parents: 5bfd318
Author: Kirk Lund <klund@apache.org>
Authored: Mon Aug 15 12:59:07 2016 -0700
Committer: Kirk Lund <klund@apache.org>
Committed: Tue Aug 16 17:25:22 2016 -0700

----------------------------------------------------------------------
 ...llelWANPropagationClientServerDUnitTest.java | 22 ++++----------------
 1 file changed, 4 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8011ff0e/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 ));


Mime
View raw message