geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject incubator-geode git commit: Disconnect vm0 after test to fix downstream incompatible system failures
Date Mon, 14 Mar 2016 16:50:00 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-949-2 3a0fe9550 -> 6e0c09f3f


Disconnect vm0 after test to fix downstream incompatible system failures


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

Branch: refs/heads/feature/GEODE-949-2
Commit: 6e0c09f3f99727eb493784bd4eb6e9045342044a
Parents: 3a0fe95
Author: Kirk Lund <klund@apache.org>
Authored: Mon Mar 14 09:49:19 2016 -0700
Committer: Kirk Lund <klund@apache.org>
Committed: Mon Mar 14 09:49:19 2016 -0700

----------------------------------------------------------------------
 .../cache/tier/sockets/DurableClientBug39997DUnitTest.java     | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/6e0c09f3/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/DurableClientBug39997DUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/DurableClientBug39997DUnitTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/DurableClientBug39997DUnitTest.java
index fb8fb3e..fb425c1 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/DurableClientBug39997DUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/DurableClientBug39997DUnitTest.java
@@ -32,6 +32,7 @@ import com.gemstone.gemfire.cache30.CacheTestCase;
 import com.gemstone.gemfire.internal.AvailablePortHelper;
 import com.gemstone.gemfire.test.dunit.Assert;
 import com.gemstone.gemfire.test.dunit.Host;
+import com.gemstone.gemfire.test.dunit.Invoke;
 import com.gemstone.gemfire.test.dunit.NetworkUtils;
 import com.gemstone.gemfire.test.dunit.SerializableRunnable;
 import com.gemstone.gemfire.test.dunit.VM;
@@ -45,6 +46,10 @@ public class DurableClientBug39997DUnitTest extends CacheTestCase {
   public DurableClientBug39997DUnitTest(String name) {
     super(name);
   }
+
+  public final void postTearDownCacheTestCase() {
+    Host.getHost(0) .getVM(0).invoke(() -> disconnectFromDS());
+  }
   
   public void testNoServerAvailableOnStartup() {
     Host host = Host.getHost(0);
@@ -120,6 +125,7 @@ public class DurableClientBug39997DUnitTest extends CacheTestCase {
   public Properties getClientProperties() {
     Properties props = new Properties();
     props.setProperty("mcast-port", "0");
+    props.setProperty("locators", "");
     props.setProperty("durable-client-id", "my_id");
     return props;
   }


Mime
View raw message