mateczagany commented on code in PR #27669:
URL: https://github.com/apache/flink/pull/27669#discussion_r2868458376
##########
flink-tests/src/test/java/org/apache/flink/test/example/client/LocalExecutorITCase.java:
##########
@@ -34,27 +34,30 @@
import org.apache.flink.streaming.api.legacy.io.TextOutputFormat;
import org.apache.flink.test.testdata.WordCountData;
import org.apache.flink.test.testfunctions.Tokenizer;
-import org.apache.flink.util.TestLogger;
+import org.apache.flink.util.TestLoggerExtension;
-import org.junit.Before;
-import org.junit.Test;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.Timeout;
+import org.junit.jupiter.api.extension.ExtendWith;
import java.io.File;
import java.io.FileWriter;
+import java.util.concurrent.TimeUnit;
import static org.apache.flink.core.testutils.CommonTestUtils.assertThrows;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
+import static org.assertj.core.api.Assertions.assertThat;
/** Integration tests for {@link LocalExecutor}. */
-public class LocalExecutorITCase extends TestLogger {
+@ExtendWith(TestLoggerExtension.class)
+class LocalExecutorITCase {
private static final int parallelism = 4;
private MiniCluster miniCluster;
private LocalExecutor executor;
- @Before
+ @BeforeEach
public void before() {
Review Comment:
I've updated this in all the updated files
--
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]