geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tush...@apache.org
Subject [71/79] incubator-geode git commit: GEODE-307: Clear DiskStoreObserver after each test
Date Tue, 03 Nov 2015 11:26:33 GMT
GEODE-307: Clear DiskStoreObserver after each test

An observer was being left over and causing later tests to fail.


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

Branch: refs/heads/feature/GEODE-17
Commit: 8f92f8e9923aa2cc8c26774a66603f792e4f9328
Parents: 8ff01ba
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Wed Sep 2 15:23:11 2015 -0700
Committer: tushark <tushark@apache.org>
Committed: Tue Nov 3 16:52:44 2015 +0530

----------------------------------------------------------------------
 gemfire-core/src/test/java/dunit/DistributedTestCase.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8f92f8e9/gemfire-core/src/test/java/dunit/DistributedTestCase.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/dunit/DistributedTestCase.java b/gemfire-core/src/test/java/dunit/DistributedTestCase.java
index 8aa8b6d..2e7ac03 100755
--- a/gemfire-core/src/test/java/dunit/DistributedTestCase.java
+++ b/gemfire-core/src/test/java/dunit/DistributedTestCase.java
@@ -52,6 +52,7 @@ import com.gemstone.gemfire.internal.InternalInstantiator;
 import com.gemstone.gemfire.internal.OSProcess;
 import com.gemstone.gemfire.internal.SocketCreator;
 import com.gemstone.gemfire.internal.admin.ClientStatsManager;
+import com.gemstone.gemfire.internal.cache.DiskStoreObserver;
 import com.gemstone.gemfire.internal.cache.GemFireCacheImpl;
 import com.gemstone.gemfire.internal.cache.InitialImageOperation;
 import com.gemstone.gemfire.internal.cache.LocalRegion;
@@ -784,6 +785,7 @@ public abstract class DistributedTestCase extends TestCase implements
java.io.Se
     Protocol.trace = GemFireTracer.DEBUG;
     DistributionMessageObserver.setInstance(null);
     QueryObserverHolder.reset();
+    DiskStoreObserver.setInstance(null);
     if (InternalDistributedSystem.systemAttemptingReconnect != null) {
       InternalDistributedSystem.systemAttemptingReconnect.stopReconnecting();
     }


Mime
View raw message