mateczagany commented on code in PR #27669:
URL: https://github.com/apache/flink/pull/27669#discussion_r3068447119
##########
flink-tests/src/test/java/org/apache/flink/test/accumulators/AccumulatorITCase.java:
##########
@@ -167,25 +162,15 @@ public void open(OpenContext openContext) {
// Create counter and test increment
IntCounter simpleCounter =
getRuntimeContext().getIntCounter("simple-counter");
simpleCounter.add(1);
- Assert.assertEquals(simpleCounter.getLocalValue().intValue(), 1);
+ assertThat(simpleCounter.getLocalValue().intValue()).isEqualTo(1);
Review Comment:
Thank you for the comments! I've applied your suggestions, and rebased on
the latest master, which already contains #27902
Sorry about that bug!
--
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]