wanglijie95 commented on code in PR #20153:
URL: https://github.com/apache/flink/pull/20153#discussion_r917593936
##########
flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster/JobMasterTest.java:
##########
@@ -959,20 +951,20 @@ public void testReconnectionAfterDisconnect() throws
Exception {
// wait for first registration attempt
final JobMasterId firstRegistrationAttempt =
registrationsQueue.take();
- assertThat(firstRegistrationAttempt, equalTo(jobMasterId));
+ assertThat(firstRegistrationAttempt).isEqualTo(jobMasterId);
- assertThat(registrationsQueue.isEmpty(), is(true));
+ assertThat(registrationsQueue.isEmpty()).isTrue();
Review Comment:
Fixed
##########
flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster/JobMasterTest.java:
##########
@@ -1384,8 +1374,9 @@ public void testRequestPartitionState() throws Exception {
fail("Expected failure.");
Review Comment:
Fixed
--
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]