adoroszlai commented on code in PR #5698:
URL: https://github.com/apache/ozone/pull/5698#discussion_r1410420183


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestGetCommittedBlockLengthAndPutKey.java:
##########
@@ -85,9 +90,9 @@ public static void shutdown() throws InterruptedException {
   }
 
   @Test
-  @Flaky("HDDS-6627")
   public void tesGetCommittedBlockLength() throws Exception {
-    ContainerProtos.GetCommittedBlockLengthResponseProto response;
+    final ContainerProtos.GetCommittedBlockLengthResponseProto[] response =
+        new ContainerProtos.GetCommittedBlockLengthResponseProto[1];

Review Comment:
   Let's use `AtomicReference` instead of a single-element array.



-- 
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]

Reply via email to