Skip to content

Commit b6d06c8

Browse files
authored
YARN-11554. Fix TestRMFailover#testWebAppProxyInStandAloneMode Failed. (#5971)
1 parent 2f73945 commit b6d06c8

File tree

1 file changed

+2
-0
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client

1 file changed

+2
-0
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/TestRMFailover.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ public void testAutomaticFailover()
212212
public void testWebAppProxyInStandAloneMode() throws YarnException,
213213
InterruptedException, IOException {
214214
conf.setBoolean(YarnConfiguration.AUTO_FAILOVER_ENABLED, false);
215+
conf.set(YarnConfiguration.RM_HA_ID, RM1_NODE_ID);
216+
215217
WebAppProxyServer webAppProxyServer = new WebAppProxyServer();
216218
try {
217219
conf.set(YarnConfiguration.PROXY_ADDRESS, "0.0.0.0:9099");

0 commit comments

Comments
 (0)