GEODE-1262: Removed VM5-VM7 in AsyncEventQueueTestBase

* Refactored all the test cases to use lower numbered VMs
* VM5-VM7 were unused hence removed from AsyncEventQueueTestBase

This closes #137


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

Branch: refs/heads/feature/GEODE-1276
Commit: ecbbf7660f35e563c75f2c9f3364c26a581cf636
Parents: 20117a8
Author: nabarun <n...@pivotal.io>
Authored: Wed Apr 20 13:50:48 2016 -0700
Committer: Dan Smith <upthewatersp...@apache.org>
Committed: Wed Apr 27 16:48:21 2016 -0700

----------------------------------------------------------------------
 .../cache/wan/AsyncEventQueueTestBase.java      |   12 -
 .../asyncqueue/AsyncEventListenerDUnitTest.java | 1112 +++++++++---------
 .../AsyncEventQueueStatsDUnitTest.java          |  186 +--
 .../ConcurrentAsyncEventQueueDUnitTest.java     |  168 +--
 .../CommonParallelAsyncEventQueueDUnitTest.java |    8 +-
 5 files changed, 732 insertions(+), 754 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/ecbbf766/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/wan/AsyncEventQueueTestBase.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/wan/AsyncEventQueueTestBase.java
 
b/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/wan/AsyncEventQueueTestBase.java
index c719538..7da8d90 100644
--- 
a/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/wan/AsyncEventQueueTestBase.java
+++ 
b/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/wan/AsyncEventQueueTestBase.java
@@ -101,12 +101,6 @@ public class AsyncEventQueueTestBase extends 
DistributedTestCase {
 
   protected static VM vm4;
 
-  protected static VM vm5;
-
-  protected static VM vm6;
-
-  protected static VM vm7;
-
   protected static AsyncEventListener eventListener1;
 
   private static final long MAX_WAIT = 10000;
@@ -134,9 +128,6 @@ public class AsyncEventQueueTestBase extends 
DistributedTestCase {
     vm2 = host.getVM(2);
     vm3 = host.getVM(3);
     vm4 = host.getVM(4);
-    vm5 = host.getVM(5);
-    vm6 = host.getVM(6);
-    vm7 = host.getVM(7);
   }
 
   @Override
@@ -1549,9 +1540,6 @@ public class AsyncEventQueueTestBase extends 
DistributedTestCase {
     vm2.invoke(() -> AsyncEventQueueTestBase.cleanupVM());
     vm3.invoke(() -> AsyncEventQueueTestBase.cleanupVM());
     vm4.invoke(() -> AsyncEventQueueTestBase.cleanupVM());
-    vm5.invoke(() -> AsyncEventQueueTestBase.cleanupVM());
-    vm6.invoke(() -> AsyncEventQueueTestBase.cleanupVM());
-    vm7.invoke(() -> AsyncEventQueueTestBase.cleanupVM());
   }
 
   public static void cleanupVM() throws IOException {

Reply via email to