lostluck commented on code in PR #33270:
URL: https://github.com/apache/beam/pull/33270#discussion_r1870227738
##########
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py:
##########
@@ -790,8 +791,10 @@ def is_buffered_correctly(actual):
# Acutal should be a grouping of the inputs into batches of size
# at most buffer_size, but the actual batching is nondeterministic
# based on ordering and trigger firing timing.
- self.assertEqual(sorted(sum((list(b) for b in actual), [])), elements)
- self.assertEqual(max(len(list(buffer)) for buffer in actual),
buffer_size)
+ self.assertEqual(
Review Comment:
Added the actual output to the asserts help with debugging, hence the line
reflows.
--
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]