amaliujia commented on a change in pull request #1738:
URL: https://github.com/apache/ozone/pull/1738#discussion_r549573765
##########
File path:
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/TestUtils.java
##########
@@ -475,7 +475,6 @@ public static void quasiCloseContainer(ContainerManagerV2
containerManager,
public static StorageContainerManager getScmSimple(OzoneConfiguration conf)
throws IOException, AuthenticationException {
SCMConfigurator configurator = new SCMConfigurator();
- configurator.setSCMHAManager(MockSCMHAManager.getInstance(true));
Review comment:
So currently the `cluster.waitForClusterToBeReady` returns quickly even
the SCM has not become leader yet.
I am guessing CI can still pass become you also have changed the rpc timeout
parameters. So either the cluster wait for ready or the parameter change can
solve the `not leader problem`.
I am not sure if we need both. Maybe we only need to keep
`cluster.waitForClusterToBeReady`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]