Repository: incubator-slider
Updated Branches:
  refs/heads/develop 9f1f687b7 -> 8f3703ba3


use assumeWindows() consistently in all TestWindowsSupport cases


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

Branch: refs/heads/develop
Commit: f70cc2c22b6a88c8743a08ad29234b12f8c5850f
Parents: c746487
Author: Steve Loughran <[email protected]>
Authored: Fri Jun 5 09:32:13 2015 +0100
Committer: Steve Loughran <[email protected]>
Committed: Fri Jun 5 09:32:13 2015 +0100

----------------------------------------------------------------------
 .../org/apache/slider/common/tools/TestWindowsSupport.groovy       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/f70cc2c2/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
 
b/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
index 230d519..a212f53 100644
--- 
a/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
+++ 
b/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
@@ -122,7 +122,7 @@ class TestWindowsSupport extends YarnMiniClusterTestBase {
 
   @Test
   public void testExecNonexistentBinary() throws Throwable {
-    assume(Shell.WINDOWS, "not windows")
+    assumeWindows()
     def commands = ["undefined-application", "--version"]
     try {
       exec(0, commands)

Reply via email to