You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Yi Hu (Jira)" <ji...@apache.org> on 2022/04/22 17:25:00 UTC

[jira] [Assigned] (BEAM-14357) Python unit test BigqueryFullResultStreamingMatcher.test__get_query_result_timeout fails locally

     [ https://issues.apache.org/jira/browse/BEAM-14357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yi Hu reassigned BEAM-14357:
----------------------------

    Assignee: Yi Hu

> Python unit test BigqueryFullResultStreamingMatcher.test__get_query_result_timeout fails locally
> ------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-14357
>                 URL: https://issues.apache.org/jira/browse/BEAM-14357
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-gcp
>         Environment: macOS M1 platform
>            Reporter: Yi Hu
>            Assignee: Yi Hu
>            Priority: P2
>
> Testing on local machine Command: 
> pytest -v apache_beam/io/gcp/tests/bigquery_matcher_test.py
> *E           google.api_core.exceptions.BadRequest: 400 POST [https://bigquery.googleapis.com/bigquery/v2/projects/some-project/jobs?prettyPrint=false:] ProjectId and DatasetId must be non-empty*
> *E*           
> *E           Location: None*
> *E           Job ID: 32fd52d1-324f-472f-b660-0d3bcc41d5a7*
> *1 failed, 6 passed in 106.84 seconds*
> ---------
> However, if run this test with xdist flag, it will pass:
> pytest -v -n 8 apache_beam/io/gcp/tests/bigquery_matcher_test.py
> {*}7 passed in 3.85 seconds{*}{*}{{*}}
> ---------
> Strangely, using xdist flag on all gcp tests, it fails:
> pytest -v -n 8 apache_beam/io/gcp/
> One test fails after minute long waiting:
> *E           google.api_core.exceptions.BadRequest: 400 POST [https://bigquery.googleapis.com/bigquery/v2/projects/some-project/jobs?prettyPrint=false:] ProjectId and DatasetId must be non-empty*
> *E*           
> *E           Location: None*
> *E           Job ID: 713e7c78-c693-4f87-a04d-2f0741d2ed67*
> *1 failed, 350 passed, 71 skipped, 233 warnings in 139.83 seconds*
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)