fijolekProjects commented on code in PR #1019:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/1019#discussion_r2296776828
##########
flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/service/AbstractFlinkServiceTest.java:
##########
@@ -1315,6 +1316,36 @@ public void
testBlockingDeletionDeleteCallErrorHandling() {
assertTrue(remaining.toMillis() < 1000);
}
+ @Test
+ public void listingJobExceptionsIsCompatibleWihFlinkV1_17Test() throws
Exception {
+ JobExceptionsInfoWithHistory exceptionInfoWithNullFailureLabels =
+ new JobExceptionsInfoWithHistory(
+ new JobExceptionsInfoWithHistory.JobExceptionHistory(
+ java.util.Collections.singletonList(
+ new
JobExceptionsInfoWithHistory.RootExceptionInfo(
+
"org.apache.flink.util.FlinkExpectedException",
+ "The TaskExecutor is shutting
down.",
+ 1755998006623L,
+ null,
+ "Source: Events Generator
Source (2/2) - execution #0",
+ "10.244.0.105:44401",
+
"basic-example-taskmanager-1-1",
+
java.util.Collections.emptyList())),
+ false));
Review Comment:
Makes sense, thanks! I changed it to json-based test
--
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]