acrites commented on code in PR #31822:
URL: https://github.com/apache/beam/pull/31822#discussion_r1690456305
##########
runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorkerTest.java:
##########
@@ -1271,6 +1273,66 @@ public void testKeyCommitTooLargeException() throws
Exception {
assertTrue(foundErrors);
}
+ @Test
+ public void testOutputKeyTooLargeException() throws Exception {
Review Comment:
This is tested by the fact that after the first exception is thrown, the
DoFn outputs smaller values that we are checking against in the output. I'll
also augment the test to pass values that never throw exception as well though.
--
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]