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/11/07 17:25:51 UTC

incubator-slider git commit: SLIDER-201 logging on windows check failures

Repository: incubator-slider
Updated Branches:
  refs/heads/develop 191ee8e2a -> 548e8505b


SLIDER-201 logging on windows check failures


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

Branch: refs/heads/develop
Commit: 548e8505bc9332eedb258bae8f4f066ca1f687ad
Parents: 191ee8e
Author: Steve Loughran <st...@apache.org>
Authored: Fri Nov 7 16:22:04 2014 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Fri Nov 7 16:25:40 2014 +0000

----------------------------------------------------------------------
 .../org/apache/slider/agent/AgentMiniClusterTestBase.groovy    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/548e8505/slider-core/src/test/groovy/org/apache/slider/agent/AgentMiniClusterTestBase.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/agent/AgentMiniClusterTestBase.groovy b/slider-core/src/test/groovy/org/apache/slider/agent/AgentMiniClusterTestBase.groovy
index e8bc4b2..df90da5 100644
--- a/slider-core/src/test/groovy/org/apache/slider/agent/AgentMiniClusterTestBase.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/agent/AgentMiniClusterTestBase.groovy
@@ -34,6 +34,8 @@ import org.apache.slider.test.YarnZKMiniClusterTestBase
 import org.junit.AfterClass
 import org.junit.BeforeClass
 import org.junit.rules.TemporaryFolder
+import org.slf4j.Logger
+import org.slf4j.LoggerFactory
 
 /**
  * test base for agent clusters
@@ -42,6 +44,7 @@ import org.junit.rules.TemporaryFolder
 @Slf4j
 public abstract class AgentMiniClusterTestBase
 extends YarnZKMiniClusterTestBase {
+  private static Logger LOG = LoggerFactory.getLogger(AgentMiniClusterTestBase)
   protected static File agentConf
   protected static File agentDef
   protected static Map<String, String> agentDefOptions
@@ -52,7 +55,7 @@ extends YarnZKMiniClusterTestBase {
    */
   @BeforeClass
   public static void checkSystem() {
-    SliderUtils.validateSliderServerEnvironment(null)
+    SliderUtils.validateSliderServerEnvironment(LOG)
   }
   
   @BeforeClass
@@ -101,7 +104,6 @@ extends YarnZKMiniClusterTestBase {
     }
   }
 
-
   @Override
   public String getTestConfigurationPath() {
     return "src/main/resources/" + AgentKeys.CONF_RESOURCE;