geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasonhu...@apache.org
Subject [3/3] geode git commit: GEODE-2522: Added missing teardown method in test
Date Tue, 14 Mar 2017 18:48:04 GMT
GEODE-2522: Added missing teardown method in test


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

Branch: refs/heads/develop
Commit: 057f60be137992085f2044354a6387c9fe752059
Parents: 89847dd
Author: Jason Huynh <huynhja@gmail.com>
Authored: Tue Mar 14 11:23:44 2017 -0700
Committer: Jason Huynh <huynhja@gmail.com>
Committed: Tue Mar 14 11:47:55 2017 -0700

----------------------------------------------------------------------
 .../geode/cache/lucene/RebalanceWithRedundancyDUnitTest.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/057f60be/geode-lucene/src/test/java/org/apache/geode/cache/lucene/RebalanceWithRedundancyDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/RebalanceWithRedundancyDUnitTest.java
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/RebalanceWithRedundancyDUnitTest.java
index 7406162..f866e51 100644
--- a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/RebalanceWithRedundancyDUnitTest.java
+++ b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/RebalanceWithRedundancyDUnitTest.java
@@ -36,6 +36,7 @@ import org.apache.geode.test.junit.categories.DistributedTest;
 
 import org.awaitility.Awaitility;
 
+import org.junit.After;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
@@ -47,6 +48,12 @@ import junitparams.Parameters;
 @RunWith(JUnitParamsRunner.class)
 public class RebalanceWithRedundancyDUnitTest extends LuceneQueriesAccessorBase {
 
+  @After
+  public void cleanupRebalanceCallback() {
+    removeCallback(dataStore1);
+    removeCallback(dataStore2);
+  }
+
   @Override
   protected RegionTestableType[] getListOfRegionTestTypes() {
     return new RegionTestableType[] {RegionTestableType.PARTITION_REDUNDANT,


Mime
View raw message