Skip to content

Commit

Permalink
YARN-5851. TestContainerManagerSecurity testContainerManager[1] faile…
Browse files Browse the repository at this point in the history
…d (Contributed by Haibo Chen via Daniel Templeton)
  • Loading branch information
templedf committed Nov 29, 2016
1 parent 3b9d3ac commit dd9a96c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public void setUp() throws Exception {
testRootDir.mkdirs();
httpSpnegoKeytabFile.deleteOnExit();
getKdc().createPrincipal(httpSpnegoKeytabFile, httpSpnegoPrincipal);
UserGroupInformation.setConfiguration(conf);

yarnCluster =
new MiniYARNCluster(TestContainerManagerSecurity.class.getName(), 1, 1,
Expand Down Expand Up @@ -148,7 +149,6 @@ public static Collection<Object[]> configs() {

public TestContainerManagerSecurity(Configuration conf) {
conf.setLong(YarnConfiguration.RM_AM_EXPIRY_INTERVAL_MS, 100000L);
UserGroupInformation.setConfiguration(conf);
this.conf = conf;
}

Expand Down

0 comments on commit dd9a96c

Please sign in to comment.