Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
2.38.0
-
None
-
macOS M1 platform
Description
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
Attachments
Issue Links
- links to