GJL commented on a change in pull request #9778: [FLINK-14206][runtime] Let
fullRestart metric count both full restarts and fine grained restarts
URL: https://github.com/apache/flink/pull/9778#discussion_r336477034
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphRestartTest.java
##########
@@ -549,8 +538,8 @@ public void testGlobalFailAndRestarts() throws Exception {
eg.waitUntilTerminal();
assertEquals(JobStatus.FINISHED, eg.getState());
- if (eg.getNumberOfFullRestarts() > 2) {
- fail("Too many restarts: " +
eg.getNumberOfFullRestarts());
+ if (eg.getNumberOfRestarts() > 2) {
+ fail("Too many restarts: " + eg.getNumberOfRestarts());
Review comment:
Let's also replace this with an assertion.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services