-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDK: remove unexpected error swallowing on abstract source's check
method
#24240
Merged
alafanechere
merged 19 commits into
master
from
augustin/remove-unexpected-error-swallowing
Mar 23, 2023
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ec30d74
cdk: do not handle Exceptions in check
alafanechere 70e704f
cdk: do not handle Exceptions in check
alafanechere 467d7cf
cat: assert trace message on exception
alafanechere 7173644
source-airtable: new exception test case for check
alafanechere 993df8a
bump CDK version
alafanechere 578561a
bump CAT version
alafanechere 12abe30
Merge branch 'master' into augustin/remove-unexpected-error-swallowing
alafanechere 5456d1a
Merge branch 'master' into augustin/remove-unexpected-error-swallowing
alafanechere 664a6be
remove assertion on internal_message existence
alafanechere 2672fb7
Merge branch 'master' into augustin/remove-unexpected-error-swallowing
alafanechere cc843db
revert changelog
alafanechere 517143e
update source-paypal acceptance test config
alafanechere 834cb28
update source-google-analytics-v4 acceptance test config
alafanechere de1cdc3
update source-zendesk-talk acceptance test config
alafanechere b5f45b6
update source-amazon-ads acceptance test config
alafanechere cb600c3
update source-google-ads acceptance test config
alafanechere 1422bb6
update source-pinterest acceptance test config
alafanechere 42afb20
update source-marketo acceptance test config
alafanechere 2b0be99
Merge branch 'master' into augustin/remove-unexpected-error-swallowing
alafanechere File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
airbyte-integrations/bases/connector-acceptance-test/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...ons/connectors/source-airtable/integration_tests/invalid_config_oauth_missing_fields.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"credentials": { | ||
"auth_method": "oauth2.0", | ||
"client_id": "client_id", | ||
"client_secret": "client_secret", | ||
"refresh_token": "refresh_token", | ||
"token_expiry_date": "2023-01-01T12:12:12.000000+00:00" | ||
} | ||
} |
94 changes: 47 additions & 47 deletions
94
airbyte-integrations/connectors/source-amazon-ads/acceptance-test-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
acceptance_tests: | ||
basic_read: | ||
tests: | ||
- config_path: secrets/config.json | ||
empty_streams: | ||
- name: sponsored_brands_ad_groups | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_campaigns | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_keywords | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_performance_creative | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_performance_adgroup | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_products | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_performance_campaign | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_display_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_video_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_products_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
timeout_seconds: 2400 | ||
expect_records: | ||
path: integration_tests/expected_records.jsonl | ||
- config_path: secrets/config.json | ||
empty_streams: | ||
- name: sponsored_brands_ad_groups | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_campaigns | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_keywords | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_performance_creative | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_performance_adgroup | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_products | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: attribution_report_performance_campaign | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_display_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_brands_video_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
- name: sponsored_products_report_stream | ||
bypass_reason: "can't populate stream because it requires real ad campaign" | ||
timeout_seconds: 2400 | ||
expect_records: | ||
path: integration_tests/expected_records.jsonl | ||
connection: | ||
tests: | ||
- config_path: secrets/config.json | ||
status: succeed | ||
- config_path: integration_tests/invalid_config.json | ||
status: failed | ||
- config_path: secrets/config.json | ||
status: succeed | ||
- config_path: integration_tests/invalid_config.json | ||
status: exception | ||
discovery: | ||
tests: | ||
- config_path: secrets/config.json | ||
- config_path: secrets/config.json | ||
full_refresh: | ||
tests: | ||
- config_path: secrets/config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
- config_path: secrets/config_report.json | ||
configured_catalog_path: integration_tests/configured_catalog_report.json | ||
timeout_seconds: 3600 | ||
- config_path: secrets/config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
- config_path: secrets/config_report.json | ||
configured_catalog_path: integration_tests/configured_catalog_report.json | ||
timeout_seconds: 3600 | ||
incremental: | ||
tests: | ||
- config_path: secrets/config_report.json | ||
configured_catalog_path: integration_tests/configured_catalog_report.json | ||
cursor_paths: | ||
sponsored_products_report_stream: | ||
- '1861552880916640' | ||
- reportDate | ||
future_state: | ||
future_state_path: integration_tests/abnormal_state.json | ||
timeout_seconds: 2400 | ||
- config_path: secrets/config_report.json | ||
configured_catalog_path: integration_tests/configured_catalog_report.json | ||
cursor_paths: | ||
sponsored_products_report_stream: | ||
- "1861552880916640" | ||
- reportDate | ||
future_state: | ||
future_state_path: integration_tests/abnormal_state.json | ||
timeout_seconds: 2400 | ||
spec: | ||
tests: | ||
- spec_path: integration_tests/spec.json | ||
- spec_path: integration_tests/spec.json | ||
connector_image: airbyte/source-amazon-ads:dev | ||
test_strictness_level: high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
airbyte-integrations/connectors/source-google-analytics-v4/acceptance-test-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
acceptance_tests: | ||
basic_read: | ||
tests: | ||
- config_path: secrets/service_config.json | ||
empty_streams: | ||
- name: users_per_city | ||
bypass_reason: no records in the stream | ||
expect_records: | ||
path: integration_tests/expected_records.jsonl | ||
timeout_seconds: 1800 | ||
- config_path: secrets/service_config.json | ||
empty_streams: | ||
- name: users_per_city | ||
bypass_reason: no records in the stream | ||
expect_records: | ||
path: integration_tests/expected_records.jsonl | ||
timeout_seconds: 1800 | ||
connection: | ||
tests: | ||
- config_path: secrets/service_config.json | ||
status: succeed | ||
- config_path: secrets/old_config.json | ||
status: succeed | ||
- config_path: integration_tests/invalid_config.json | ||
status: failed | ||
- config_path: secrets/service_config.json | ||
status: succeed | ||
- config_path: secrets/old_config.json | ||
status: succeed | ||
- config_path: integration_tests/invalid_config.json | ||
status: exception | ||
discovery: | ||
tests: | ||
- config_path: secrets/service_config.json | ||
- config_path: secrets/service_config.json | ||
full_refresh: | ||
tests: | ||
- config_path: secrets/service_config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
- config_path: secrets/service_config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
incremental: | ||
tests: | ||
- config_path: secrets/service_config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
future_state: | ||
future_state_path: integration_tests/abnormal_state.json | ||
threshold_days: 2 | ||
- config_path: secrets/service_config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
future_state: | ||
future_state_path: integration_tests/abnormal_state.json | ||
threshold_days: 2 | ||
spec: | ||
tests: | ||
- spec_path: source_google_analytics_v4/spec.json | ||
- spec_path: source_google_analytics_v4/spec.json | ||
connector_image: airbyte/source-google-analytics-v4:dev | ||
test_strictness_level: high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if this should be bumped differently, as it's a new test we expect some to fail 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only two connectors are using
status: "exception"
in their acceptance test config (dixa
andfile
). They both are not passing CAT at the moment.I don't expect additional connectors to fail as only these connectors + airtable will go into the
inputs.status == ConnectionTestConfig.Status.Exception:
statement.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks for clarifying 👍🏻