geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [42/50] [abbrv] incubator-geode git commit: GEODE-935: Removed sleeps in SerialWANPropagationDUnitTest
Date Thu, 28 Apr 2016 23:10:21 GMT
GEODE-935: Removed sleeps in SerialWANPropagationDUnitTest

The sleeps in the test cases were removed as the awaitility clause in
the subsequent validate region size waits for at max 30 sec.

This closes #133


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/55d8b9fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/55d8b9fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/55d8b9fc

Branch: refs/heads/feature/GEODE-1255
Commit: 55d8b9fc8d11cb10d49e6c9c8cf414fb590f4041
Parents: 6fb84d9
Author: nabarun <nnag@pivotal.io>
Authored: Wed Apr 20 11:14:26 2016 -0700
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Wed Apr 27 16:00:11 2016 -0700

----------------------------------------------------------------------
 .../internal/cache/wan/serial/SerialWANPropogationDUnitTest.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/55d8b9fc/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/serial/SerialWANPropogationDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/serial/SerialWANPropogationDUnitTest.java
b/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/serial/SerialWANPropogationDUnitTest.java
index a9a6c29..65f5bca 100644
--- a/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/serial/SerialWANPropogationDUnitTest.java
+++ b/geode-wan/src/test/java/com/gemstone/gemfire/internal/cache/wan/serial/SerialWANPropogationDUnitTest.java
@@ -137,8 +137,6 @@ public class SerialWANPropogationDUnitTest extends WANTestBase {
     vm2.invoke(() -> WANTestBase.createReceiver());
     vm3.invoke(() -> WANTestBase.createReceiver());
 
-    Thread.sleep(5000);
-
     vm4.invoke(() -> WANTestBase.validateRegionSize(
         getTestMethodName() + "_RR", 1000 ));
 
@@ -384,8 +382,6 @@ public class SerialWANPropogationDUnitTest extends WANTestBase {
       e.printStackTrace();
       fail();
     }
-    //sleep for some time to let all the events propagate to remote site
-    Thread.sleep(20);
     //vm4.invoke(() -> WANTestBase.verifyQueueSize( "ln", 0 ));
     vm2.invoke(() -> WANTestBase.validateRegionSize(
         getTestMethodName() + "_RR_1", 1000 ));


Mime
View raw message