yulongz commented on a change in pull request #3878:
URL: https://github.com/apache/hadoop/pull/3878#discussion_r784444888
##########
File path:
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouter.java
##########
@@ -223,10 +223,14 @@ public void testRouterMetricsWhenDisabled() throws
Exception {
@Test
public void testSwitchRouter() throws IOException {
- assertRouterHeartbeater(true, true);
- assertRouterHeartbeater(true, false);
- assertRouterHeartbeater(false, true);
- assertRouterHeartbeater(false, false);
+ assertRouterHeartbeater(true,true, true);
Review comment:
Thanks for your advice. In the latest commit
e208d71c30e8f1cdc50ba7953bb7f05637a8d2fe , it has been done.
```suggestion
assertRouterHeartbeater(true, true, true);
```
--
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]