You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by la...@apache.org on 2017/08/01 00:14:47 UTC

geode git commit: GEODE-2226: SessionReplicationIntegrationTests do not run on Windows

Repository: geode
Updated Branches:
  refs/heads/develop 6f4bf30e8 -> 9d59402b7


GEODE-2226: SessionReplicationIntegrationTests do not run on Windows

* Disable SessionReplicationIntegrationTests on Windows

This closes #669


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

Branch: refs/heads/develop
Commit: 9d59402b71beea84199c79399aa0260955a19d2c
Parents: 6f4bf30
Author: Lynn Hughes-Godfrey <lh...@pivotal.io>
Authored: Fri Jul 28 16:15:01 2017 -0700
Committer: Lynn Hughes-Godfrey <lh...@pivotal.io>
Committed: Mon Jul 31 17:14:35 2017 -0700

----------------------------------------------------------------------
 .../internal/filter/SessionReplicationIntegrationJUnitTest.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/9d59402b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java
----------------------------------------------------------------------
diff --git a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java
index cc52bde..5a0add2 100644
--- a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java
+++ b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java
@@ -35,6 +35,7 @@ import org.eclipse.jetty.http.HttpTester;
 import org.eclipse.jetty.servlet.FilterHolder;
 import org.eclipse.jetty.servlet.ServletHolder;
 import org.junit.After;
+import org.junit.Assume;
 import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
@@ -83,6 +84,9 @@ public class SessionReplicationIntegrationJUnitTest {
 
   @Before
   public void setUp() throws Exception {
+
+    Assume.assumeFalse(System.getProperty("os.name").toLowerCase().contains("win"));
+
     File gemfireLogFile = new File(tmpdir.newFolder(), "gemfire_modules.log");
 
     request = HttpTester.newRequest();