geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject [geode] branch develop updated: GEODE-4074: Cleanup of PdxSerializers in TypeRegistry (#1151)
Date Mon, 11 Dec 2017 21:36:28 GMT
This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new d67359f  GEODE-4074: Cleanup of PdxSerializers in TypeRegistry (#1151)
d67359f is described below

commit d67359f4c05f5d92d0fa18333aeaf1ca4837b40a
Author: Jens Deppe <jdeppe@pivotal.io>
AuthorDate: Mon Dec 11 13:36:25 2017 -0800

    GEODE-4074: Cleanup of PdxSerializers in TypeRegistry (#1151)
---
 .../apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/geode-core/src/test/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
b/geode-core/src/test/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
index 6665dfe..b44ca8d 100644
--- a/geode-core/src/test/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
+++ b/geode-core/src/test/java/org/apache/geode/test/dunit/internal/JUnit4DistributedTestCase.java
@@ -73,6 +73,7 @@ import org.apache.geode.internal.logging.LogService;
 import org.apache.geode.internal.net.SocketCreator;
 import org.apache.geode.internal.net.SocketCreatorFactory;
 import org.apache.geode.management.internal.cli.LogWrapper;
+import org.apache.geode.pdx.internal.TypeRegistry;
 import org.apache.geode.test.dunit.DUnitBlackboard;
 import org.apache.geode.test.dunit.Disconnect;
 import org.apache.geode.test.dunit.Host;
@@ -597,6 +598,8 @@ public abstract class JUnit4DistributedTestCase implements DistributedTestFixtur
 
     IgnoredException.removeAllExpectedExceptions();
     SocketCreatorFactory.close();
+    TypeRegistry.setPdxSerializer(null);
+    TypeRegistry.init();
     cleanDiskDirs();
   }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message