portikCoder commented on code in PR #35558: URL: https://github.com/apache/beam/pull/35558#discussion_r2222518885
########## sdks/python/apache_beam/io/gcp/bigquery_file_loads_test.py: ########## @@ -820,6 +823,163 @@ def test_multiple_partition_files_write_dispositions( # TriggerCopyJob only processes once self.assertEqual(mock_call_process.call_count, 1) + @mock.patch( + 'apache_beam.io.gcp.bigquery_tools.BigQueryWrapper.wait_for_bq_job') + @mock.patch( + 'apache_beam.io.gcp.bigquery_tools.BigQueryWrapper._insert_copy_job') + @mock.patch( + 'apache_beam.io.gcp.bigquery_tools.BigQueryWrapper._start_job', + wraps=BigQueryWrapper._start_job) + def test_multiple_identical_destinations_on_write_truncate( + self, mock_perform_start_job, mock_insert_copy_job, mock_wait_for_bq_job): + """ + Test that multiple identical destinations are handled correctly. Review Comment: If it makes better sense let me reword it. -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org