[ 
https://issues.apache.org/jira/browse/BEAM-8864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997530#comment-16997530
 ] 

Boyuan Zhang commented on BEAM-8864:
------------------------------------

Each test case has its own randomized dataset id. My suspect is that there is 
some latency between writing to table and querying from data again. Maybe 
consider adding another retry logic: retry if getting empty response here: 
https://github.com/apache/beam/blob/738e5912e2d2e09bd58ee1241350f8f3c7e8e7b2/sdks/python/apache_beam/io/gcp/tests/bigquery_matcher.py#L101?

> BigQueryQueryToTableIT.test_big_query_legacy_sql - fails in post commit tests
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-8864
>                 URL: https://issues.apache.org/jira/browse/BEAM-8864
>             Project: Beam
>          Issue Type: Sub-task
>          Components: io-py-gcp, test-failures
>            Reporter: Ahmet Altay
>            Assignee: Chamikara Madhusanka Jayalath
>            Priority: Critical
>             Fix For: Not applicable
>
>
> Logs: 
> [https://builds.apache.org/job/beam_PostCommit_Python35/1123/testReport/junit/apache_beam.io.gcp.big_query_query_to_table_it_test/BigQueryQueryToTableIT/test_big_query_legacy_sql/]
> Error Message
> Expected: (Test pipeline expected terminated in state: DONE and Expected 
> checksum is 158a8ea1c254fcf40d4ed3e7c0242c3ea0a29e72)
>  but: Expected checksum is 158a8ea1c254fcf40d4ed3e7c0242c3ea0a29e72 Actual 
> checksum is da39a3ee5e6b4b0d3255bfef95601890afd80709



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to