fhueske commented on code in PR #28326:
URL: https://github.com/apache/flink/pull/28326#discussion_r3479635881


##########
flink-table/flink-table-test-utils/src/test/java/org/apache/flink/table/runtime/functions/ProcessTableFunctionTestHarnessTest.java:
##########
@@ -2455,11 +2457,13 @@ void testPassThroughWithTimersIsRejected() throws 
Exception {
                         .withOnTimeColumn("ts")
                         .build()) {
 
-            assertThrows(
-                    TableRuntimeException.class,
-                    () ->
-                            harness.processElement(
-                                    Row.of("P1", LocalDateTime.of(2025, 1, 1, 
0, 0, 1))));
+            TableRuntimeException e =
+                    assertThrows(
+                            TableRuntimeException.class,
+                            () ->
+                                    harness.processElement(

Review Comment:
   Thanks for the explanation! 
   Agreed that the harness should behave like the actual runtime.



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

Reply via email to