ChenSammi commented on code in PR #6768:
URL: https://github.com/apache/ozone/pull/6768#discussion_r1631268106
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestCommitInRatis.java:
##########
@@ -132,10 +133,13 @@ private void shutdown() {
}
}
-
- @Test
- public void test2WayCommitForRetryfailure() throws Exception {
+ @ParameterizedTest
+ @ValueSource(strings = {"ALL_COMMITTED", "MAJORITY_COMMITTED"})
Review Comment:
It's changed to use @EnumSource, but still need to specify ALL_COMMITTED and
MAJORITY_COMMITTED for the enum class RaftProtos.ReplicationLevel has other
elements not applicable to Ozone client watch.
--
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]