geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [36/47] geode git commit: GEODE-3538: make RequiresGeodeHome Serializable
Date Thu, 31 Aug 2017 01:26:13 GMT
GEODE-3538: make RequiresGeodeHome Serializable


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

Branch: refs/heads/feature/GEODE-3543
Commit: 1ea345168cce3f0f20a1e24baf02b4ab48a810f9
Parents: c287d98
Author: Kirk Lund <klund@apache.org>
Authored: Tue Aug 29 13:41:10 2017 -0700
Committer: Kirk Lund <klund@apache.org>
Committed: Tue Aug 29 14:32:53 2017 -0700

----------------------------------------------------------------------
 .../org/apache/geode/test/dunit/rules/RequiresGeodeHome.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/1ea34516/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/RequiresGeodeHome.java
----------------------------------------------------------------------
diff --git a/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/RequiresGeodeHome.java
b/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/RequiresGeodeHome.java
index 02f474f..88e5f3a 100644
--- a/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/RequiresGeodeHome.java
+++ b/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/RequiresGeodeHome.java
@@ -20,13 +20,14 @@ import static org.junit.Assert.assertNotNull;
 
 import java.io.File;
 
-import org.junit.rules.ExternalResource;
+import org.apache.geode.test.junit.rules.serializable.SerializableExternalResource;
 
 /**
  * This {@code Rule} is used to indicate tests that require the GEODE_HOME environment varible
to be
  * set. (For example, any test that relies on the assembled Pulse WAR or GFSH binary.)
  */
-public class RequiresGeodeHome extends ExternalResource {
+public class RequiresGeodeHome extends SerializableExternalResource {
+
   private static final String GEODE_HOME_NOT_SET_MESSAGE =
       "This test requires a GEODE_HOME environment variable that points to the location "
           + "of geode-assembly/build/install/apache-geode." + LINE_SEPARATOR


Mime
View raw message