reswqa commented on code in PR #22176:
URL: https://github.com/apache/flink/pull/22176#discussion_r1138082305
##########
flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/LeastUtilizationSlotMatchingStrategyTest.java:
##########
@@ -24,17 +24,15 @@
import org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableMap;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collection;
import java.util.Map;
import java.util.Optional;
import java.util.function.Function;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-import static org.junit.Assert.assertTrue;
+import static org.assertj.core.api.Assertions.assertThat;
/** Tests for the {@link LeastUtilizationSlotMatchingStrategy}. */
public class LeastUtilizationSlotMatchingStrategyTest extends TestLogger {
Review Comment:
```suggestion
class LeastUtilizationSlotMatchingStrategyTest extends TestLogger {
```
##########
flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/LeastUtilizationSlotMatchingStrategyTest.java:
##########
@@ -24,17 +24,15 @@
import org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableMap;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collection;
import java.util.Map;
import java.util.Optional;
import java.util.function.Function;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-import static org.junit.Assert.assertTrue;
+import static org.assertj.core.api.Assertions.assertThat;
/** Tests for the {@link LeastUtilizationSlotMatchingStrategy}. */
public class LeastUtilizationSlotMatchingStrategyTest extends TestLogger {
Review Comment:
```suggestion
class LeastUtilizationSlotMatchingStrategyTest {
```
--
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]