RocMarshal commented on code in PR #27186:
URL: https://github.com/apache/flink/pull/27186#discussion_r2553119502


##########
flink-runtime/src/test/java/org/apache/flink/runtime/util/SerializedThrowableTest.java:
##########
@@ -179,4 +188,62 @@ void testCopySuppressed() {
                 .isInstanceOf(SerializedThrowable.class)
                 .hasMessage("java.lang.Exception: suppressed");
     }
+
+    @Test
+    void testCyclicSuppressedThrowableSerialized() {
+        SerializedThrowable serializedThrowable = new 
SerializedThrowable(mockThrowable());
+        assertThat(serializedThrowable).isNotNull();
+    }
+
+    // Use the repeated test for checking the thread safe and stable.
+    @RepeatedTest(16)
+    void testCyclicSuppressedThrowableConcurrentSerialized() throws 
InterruptedException {

Review Comment:
   Okay, Thank sounds good to me.
   Thanks @Myasuka .
   Updated.



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

Reply via email to