goiri commented on code in PR #5056:
URL: https://github.com/apache/hadoop/pull/5056#discussion_r1030812465
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/webapp/TestFederationInterceptorRESTRetry.java:
##########
@@ -380,10 +385,20 @@ public void testGetNodeOneBadOneGood()
@Test
public void testGetNodesOneBadSC() throws Exception {
+ // allowPartialResult = true,
+ // We tolerate exceptions and return normal results
+ interceptor.setAllowPartialResult(true);
setupCluster(Arrays.asList(bad2));
- LambdaTestUtils.intercept(YarnRuntimeException.class, "RM is stopped",
Review Comment:
Can we keep the old test and add a new one with the partial enabled?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]