lukecwik commented on a change in pull request #12637:
URL: https://github.com/apache/beam/pull/12637#discussion_r474178233
##########
File path: sdks/python/apache_beam/runners/worker/data_plane_test.py
##########
@@ -99,35 +100,33 @@ def send(instruction_id, transform_id, data):
# Single write.
send('0', transform_1, b'abc')
- self.assertEqual(
+ hc.assert_that(
Review comment:
I don't think this change updates the test to test the correct
expectations since we should be testing that multiple messages are received in
order over the channel.
I believe `send` doesn't have the correct semantics since we want to have a
persistent stream for the life of this test and to control when it gets closed
after sending for a specific `instruction,transform` pair is done.
----------------------------------------------------------------
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]