You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by go...@apache.org on 2015/06/15 00:36:25 UTC

incubator-slider git commit: SLIDER-895 Slider Unit Test Cases Failing on Windows

Repository: incubator-slider
Updated Branches:
  refs/heads/develop 3ee3d1ea3 -> 55e86f172


SLIDER-895 Slider Unit Test Cases Failing 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/55e86f17
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/55e86f17
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/55e86f17

Branch: refs/heads/develop
Commit: 55e86f172c54391216e21ff1505b8bfbe0de2534
Parents: 3ee3d1e
Author: Gour Saha <go...@apache.org>
Authored: Sun Jun 14 15:36:17 2015 -0700
Committer: Gour Saha <go...@apache.org>
Committed: Sun Jun 14 15:36:17 2015 -0700

----------------------------------------------------------------------
 .../org/apache/slider/agent/actions/TestActionPackage.groovy    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/55e86f17/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionPackage.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionPackage.groovy b/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionPackage.groovy
index 93dd0dd..8245dae 100644
--- a/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionPackage.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionPackage.groovy
@@ -224,6 +224,7 @@ class TestActionPackage extends AgentMiniClusterTestBase {
 
   @Test
   public void testPackageDelete() throws Throwable {
+      def uuid = UUID.randomUUID()
       ServiceLauncher launcher = launchClientAgainstMiniMR(
           //config includes RM binding info
           new YarnConfiguration(miniCluster.config),
@@ -231,7 +232,7 @@ class TestActionPackage extends AgentMiniClusterTestBase {
           [
               SliderActions.ACTION_PACKAGE,
               Arguments.ARG_INSTALL,
-              Arguments.ARG_NAME, "storm",
+              Arguments.ARG_NAME, "storm_" + uuid,
               Arguments.ARG_PACKAGE, packageFile.absolutePath,
           ],
       )
@@ -242,7 +243,7 @@ class TestActionPackage extends AgentMiniClusterTestBase {
           [
               SliderActions.ACTION_PACKAGE,
               Arguments.ARG_PKGDELETE,
-              Arguments.ARG_NAME, "storm"
+              Arguments.ARG_NAME, "storm_" + uuid
           ],
       )
   }