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/26ec0d08 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/26ec0d08 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/26ec0d08 Branch: refs/heads/feature/SLIDER-375_slider-core_tests_failing_on_windows Commit: 26ec0d084a16a7a6c5d27f946fa48451047263aa Parents: c40e480 Author: Steve Loughran <ste...@apache.org> Authored: Fri Aug 29 12:25:19 2014 +0100 Committer: Steve Loughran <ste...@apache.org> Committed: Fri Aug 29 13:19:00 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/26ec0d08/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)