dennisylyung removed a comment on pull request #12583:
URL: https://github.com/apache/beam/pull/12583#issuecomment-725986759


   @iemejia I made some changes to use a hashmap for deduplication, and to 
improve the test. 
   I separated the test for duplicate key, and used mockito to check whether 
the call to the aws client contains duplicate key. 
   However, as you have worried, each element is put into a single bundle. 
Hence each bundle consist of one element only, defeating the duplication test.
   I looked at the documentation of `DoFnTester` but it is deprecated. The docs 
suggests using `TestPipeline` instead, but I couldn't find anyway to control 
the bundling of elements. 
   Any idea?


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to