You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/08/29 13:27:03 UTC

git commit: SLIDER-375 test getting its args wrong on windows

Repository: incubator-slider
Updated Branches:
  refs/heads/feature/SLIDER-375_slider-core_tests_failing_on_windows fbaea34f3 -> 3ef13fb70


SLIDER-375 test getting its args wrong on windows


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/3ef13fb7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/3ef13fb7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/3ef13fb7

Branch: refs/heads/feature/SLIDER-375_slider-core_tests_failing_on_windows
Commit: 3ef13fb70f31dc71a268b8ec3e8213621c9cd78d
Parents: fbaea34
Author: Steve Loughran <st...@apache.org>
Authored: Fri Aug 29 12:25:19 2014 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Fri Aug 29 12:25:19 2014 +0100

----------------------------------------------------------------------
 .../slider/providers/agent/TestAgentAMManagementWS.groovy      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/3ef13fb7/slider-core/src/test/groovy/org/apache/slider/providers/agent/TestAgentAMManagementWS.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/providers/agent/TestAgentAMManagementWS.groovy b/slider-core/src/test/groovy/org/apache/slider/providers/agent/TestAgentAMManagementWS.groovy
index 1cd8de6..4e7b5b9 100644
--- a/slider-core/src/test/groovy/org/apache/slider/providers/agent/TestAgentAMManagementWS.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/providers/agent/TestAgentAMManagementWS.groovy
@@ -117,9 +117,9 @@ class TestAgentAMManagementWS extends AgentTestBase {
         roles,
         [
             ARG_OPTION, PACKAGE_PATH, slider_core.absolutePath,
-            ARG_OPTION, APP_DEF, "file://" + app_def_path.absolutePath,
-            ARG_OPTION, AGENT_CONF, "file://" + agt_conf_path.absolutePath,
-            ARG_OPTION, AGENT_VERSION, "file://" + agt_ver_path.absolutePath,
+            ARG_OPTION, APP_DEF, app_def_path.absoluteFile.toURI().toString(),
+            ARG_OPTION, AGENT_CONF, agt_conf_path.absoluteFile.toURI().toString(),
+            ARG_OPTION, AGENT_VERSION, agt_ver_path.absoluteFile.toURI().toString(),
         ],
         true, true,
         true)