Repository: geode Updated Branches: refs/heads/develop 566ff6c70 -> ca4b81207
GEODE-3328: fix a test failure on windows. Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/ca4b8120 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/ca4b8120 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/ca4b8120 Branch: refs/heads/develop Commit: ca4b81207091d24ddbab1bf46b424aaf73ed51e4 Parents: 566ff6c Author: Jinmei Liao <jil...@pivotal.io> Authored: Fri Aug 11 15:41:29 2017 -0700 Committer: Jinmei Liao <jil...@pivotal.io> Committed: Sun Aug 13 07:23:01 2017 +0100 ---------------------------------------------------------------------- .../management/internal/cli/commands/GfshCommandJUnitTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/ca4b8120/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GfshCommandJUnitTest.java ---------------------------------------------------------------------- diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GfshCommandJUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GfshCommandJUnitTest.java index e3b6ad4..0e20c72 100644 --- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GfshCommandJUnitTest.java +++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GfshCommandJUnitTest.java @@ -405,9 +405,10 @@ public class GfshCommandJUnitTest { assertTrue(commandLine.isEmpty()); startMemberCommand.addGemFirePropertyFile(commandLine, null); assertTrue(commandLine.isEmpty()); - startMemberCommand.addGemFirePropertyFile(commandLine, new File("/path/to/gemfire.properties")); + File file = new File("/path/to/gemfire.properties"); + startMemberCommand.addGemFirePropertyFile(commandLine, file); assertFalse(commandLine.isEmpty()); - assertTrue(commandLine.contains("-DgemfirePropertyFile=/path/to/gemfire.properties")); + assertTrue(commandLine.contains("-DgemfirePropertyFile=" + file.getAbsolutePath())); } }