tillrohrmann commented on a change in pull request #14999:
URL: https://github.com/apache/flink/pull/14999#discussion_r582986170



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/DefaultSchedulerTest.java
##########
@@ -968,6 +982,75 @@ public void testExceptionHistoryWithRestartableFailure() {
                 
lessThanOrEqualTo(updateStateTriggeringJobFailureTimeframe.upperEndpoint()));
     }
 
+    @Test(expected = IllegalStateException.class)

Review comment:
       I guess for symmetric reason we should change it. The thing with testing 
for exception messages is always that it couples tests quite tightly with 
internal details.




----------------------------------------------------------------
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]


Reply via email to