Description
This is hypothetical (I haven't seen this actually happen), but worker region & zone tests in the Python SDK could yield false positives because they only check that errors occurred. They do not check which errors occurred. The pipeline options under test raise other expected errors: ['Missing required option: project.', 'Missing GCS path option: temp_location.', 'Missing GCS path option: staging_location.'] in addition to the error we're actually testing for. Therefore, if the code under test were to break, the tests would still pass.
Attachments
Issue Links
- links to