geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [23/32] geode git commit: GEODE-2227 AutoSerializableJUnitTest.testMultipleClassLoaders fails on Windows
Date Fri, 03 Feb 2017 18:35:52 GMT
GEODE-2227 AutoSerializableJUnitTest.testMultipleClassLoaders fails on Windows

This closes #330


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

Branch: refs/heads/feature/GEODE-1930-2
Commit: 7b5e2ccd7f0ab2f2c716d7252dd006ecd1b55b53
Parents: c1bedbc
Author: Kai Jiang <jiangkai@gmail.com>
Authored: Thu Jan 5 04:11:26 2017 -0800
Committer: Anthony Baker <abaker@apache.org>
Committed: Thu Feb 2 16:42:17 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/geode/pdx/AutoSerializableJUnitTest.java    | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/7b5e2ccd/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java
b/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java
index 40ef28e..81086bd 100644
--- a/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java
@@ -45,9 +45,6 @@ import java.util.concurrent.ConcurrentHashMap;
 import static org.apache.geode.distributed.ConfigurationProperties.MCAST_PORT;
 import static org.junit.Assert.*;
 
-/**
- * TODO: fails (on Windows 7?)
- */
 @Category({IntegrationTest.class, SerializationTest.class})
 public class AutoSerializableJUnitTest {
 
@@ -1291,7 +1288,7 @@ public class AutoSerializableJUnitTest {
     List<URL> urls = new ArrayList<URL>();
     String classPathStr = System.getProperty("java.class.path");
     if (classPathStr != null) {
-      String[] cpList = classPathStr.split(":");
+      String[] cpList = classPathStr.split(System.getProperty("path.separator"));
       for (String u : cpList) {
         urls.add(new File(u).toURI().toURL());
       }


Mime
View raw message