geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [43/50] [abbrv] geode git commit: GEODE-2226: SessionReplicationIntegrationTests do not run on Windows
Date Tue, 01 Aug 2017 21:03:37 GMT
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/feature/GEODE-3299
Commit: 9d59402b71beea84199c79399aa0260955a19d2c
Parents: 6f4bf30
Author: Lynn Hughes-Godfrey <lhughesgodfrey@pivotal.io>
Authored: Fri Jul 28 16:15:01 2017 -0700
Committer: Lynn Hughes-Godfrey <lhughesgodfrey@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();


Mime
View raw message