You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sa...@apache.org on 2018/08/06 22:26:16 UTC

[geode] branch feature/windows-debug-integration-tests updated: Let ServerLauncher ignore comparing directory paths

This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a commit to branch feature/windows-debug-integration-tests
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/windows-debug-integration-tests by this push:
     new 3375bac  Let ServerLauncher ignore comparing directory paths
3375bac is described below

commit 3375bac5f86c18c1167340f39b223efb2e4877e1
Author: Sai Boorlagadda <sb...@pivotal.io>
AuthorDate: Mon Aug 6 15:25:53 2018 -0700

    Let ServerLauncher ignore comparing directory paths
---
 .../src/main/java/org/apache/geode/distributed/ServerLauncher.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java b/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
index 5bae948..0588021 100755
--- a/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
@@ -2407,7 +2407,7 @@ public class ServerLauncher extends AbstractLauncher<String> {
             "@@@@@@@@@ ServerLauncher::validateOnStart - CURRENT_DIRECTORY - " + CURRENT_DIRECTORY);
         System.out.println("@@@@@@@@@ ServerLauncher::validateOnStart - getWorkingDirectory() - "
             + getWorkingDirectory());
-        if (!CURRENT_DIRECTORY.equals(getWorkingDirectory())) {
+        if (!CURRENT_DIRECTORY.equalsIgnoreCase(getWorkingDirectory())) {
           throw new IllegalStateException(
               LocalizedStrings.Launcher_Builder_WORKING_DIRECTORY_OPTION_NOT_VALID_ERROR_MESSAGE
                   .toLocalizedString("Server"));