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/07/02 18:00:52 UTC

[23/26] git commit: SLIDER-201 jenkins windows support - fail fast wasnt static

SLIDER-201 jenkins windows support - fail fast wasnt static


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

Branch: refs/heads/feature/SLIDER-151_Implement_full_slider_API_in_REST_and_switch_client_to_it
Commit: 6d96ba95659c2f47771eebbc1c632c89c3ee173f
Parents: a6cbab1
Author: Steve Loughran <st...@apache.org>
Authored: Wed Jul 2 16:37:31 2014 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Wed Jul 2 16:37:31 2014 +0100

----------------------------------------------------------------------
 .../groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/6d96ba95/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy b/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy
index a5c8710..80a83a4 100644
--- a/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy
@@ -130,9 +130,9 @@ public abstract class YarnMiniClusterTestBase extends ServiceLauncherBaseTest {
           DEFAULT_TEST_TIMEOUT_SECONDS * 1000)
   )
   @BeforeClass
-  public void checkWindowsSupport() {
+  public static void checkWindowsSupport() {
     if (Shell.WINDOWS) {
-      Assert.assertNotNull("winutils.exe not found", Shell.WINUTILS)
+      assertNotNull("winutils.exe not found", Shell.WINUTILS)
     }
   }