rakesh-das08 commented on code in PR #7757:
URL: https://github.com/apache/iceberg/pull/7757#discussion_r1215484049
##########
api/src/test/java/org/apache/iceberg/io/TestCloseableIterable.java:
##########
@@ -151,20 +152,19 @@ public void
testWithCompletionRunnableWhenIterableThrows() {
throw new RuntimeException("expected");
}),
completionCounter::incrementAndGet)) {
- iter.forEach(val ->
Assertions.assertThat(completionCounter.get()).isEqualTo(0));
+ iter.forEach(val ->
assertThat(completionCounter.get()).isZero());
}
})
.isInstanceOf(RuntimeException.class)
- .hasMessage("expected");
Review Comment:
This has been a miss from my end. Will correct this.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]