Repository: incubator-slider
Updated Branches:
  refs/heads/develop fdaae7eed -> 860d72504


SLIDER-557: turn auth on in one of the minicluster tests, verify that the AM 
still starts


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

Branch: refs/heads/develop
Commit: 0991ba56e3b7ae269dd30935ae7cb85cbb6a2607
Parents: fdaae7e
Author: Steve Loughran <ste...@apache.org>
Authored: Sun Oct 26 14:44:43 2014 +0000
Committer: Steve Loughran <ste...@apache.org>
Committed: Sun Oct 26 16:08:08 2014 +0000

----------------------------------------------------------------------
 .../agent/freezethaw/TestFreezeThawFlexStandaloneAM.groovy     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/0991ba56/slider-core/src/test/groovy/org/apache/slider/agent/freezethaw/TestFreezeThawFlexStandaloneAM.groovy
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/groovy/org/apache/slider/agent/freezethaw/TestFreezeThawFlexStandaloneAM.groovy
 
b/slider-core/src/test/groovy/org/apache/slider/agent/freezethaw/TestFreezeThawFlexStandaloneAM.groovy
index c496fa9..7e7e52c 100644
--- 
a/slider-core/src/test/groovy/org/apache/slider/agent/freezethaw/TestFreezeThawFlexStandaloneAM.groovy
+++ 
b/slider-core/src/test/groovy/org/apache/slider/agent/freezethaw/TestFreezeThawFlexStandaloneAM.groovy
@@ -20,6 +20,7 @@ package org.apache.slider.agent.freezethaw
 
 import groovy.transform.CompileStatic
 import groovy.util.logging.Slf4j
+import org.apache.hadoop.fs.CommonConfigurationKeysPublic
 import org.apache.hadoop.fs.FileSystem as HadoopFS
 import org.apache.hadoop.fs.Path
 import org.apache.hadoop.yarn.api.records.FinalApplicationStatus
@@ -31,7 +32,8 @@ import org.apache.slider.core.main.ServiceLauncher
 import org.junit.Test
 
 /**
- * stop and start an AM
+ * stop and start an AM. For fun authorization is turned on, so this
+ * verifies that the AM comes up successfully
  */
 @CompileStatic
 @Slf4j
@@ -50,6 +52,8 @@ class TestFreezeThawFlexStandaloneAM extends 
AgentMiniClusterTestBase {
   @Test
   public void testFreezeThawFlexStandaloneAM() throws Throwable {
     YarnConfiguration conf = configuration
+    
conf.setBoolean(CommonConfigurationKeysPublic.HADOOP_SECURITY_AUTHORIZATION,
+        false);
     String clustername = createMiniCluster("", conf, 1, 1, 1, true, false)
     
     describe "create a standalone AM, stop it, start it"

Reply via email to