Skip to content
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

Source Mailchimp: enable high test strictness level in SAT #19167

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,66 +1,46 @@
connector_image: airbyte/source-mailchimp:dev
tests:
spec:
- spec_path: "source_mailchimp/spec.json"
timeout_seconds: 60
acceptance_tests:
basic_read:
tests:
- config_path: secrets/config.json
timeout_seconds: 1800
- config_path: secrets/config_oauth.json
timeout_seconds: 1800
connection:
# for old spec config (without oneOf)
- config_path: "secrets/config.json"
status: "succeed"
timeout_seconds: 180
# for auth with API token
- config_path: "secrets/config_apikey.json"
status: "succeed"
timeout_seconds: 180
# for auth with oauth2 token
- config_path: "secrets/config_oauth.json"
status: "succeed"
timeout_seconds: 180
- config_path: "integration_tests/invalid_config.json"
status: "failed"
timeout_seconds: 180
- config_path: "integration_tests/invalid_config_apikey.json"
status: "failed"
timeout_seconds: 180
- config_path: "integration_tests/invalid_config_oauth.json"
status: "failed"
timeout_seconds: 180
tests:
- config_path: secrets/config.json
status: succeed
timeout_seconds: 180
- config_path: secrets/config_apikey.json
status: succeed
timeout_seconds: 180
- config_path: secrets/config_oauth.json
status: succeed
timeout_seconds: 180
- config_path: integration_tests/invalid_config.json
status: failed
timeout_seconds: 180
- config_path: integration_tests/invalid_config_apikey.json
status: failed
timeout_seconds: 180
- config_path: integration_tests/invalid_config_oauth.json
status: failed
timeout_seconds: 180
discovery:
# for old spec config (without oneOf)
- config_path: "secrets/config.json"
# for auth with API token
- config_path: "secrets/config_apikey.json"
# for auth with oauth2 token
- config_path: "secrets/config_oauth.json"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
timeout_seconds: 1800
- config_path: "secrets/config_oauth.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
timeout_seconds: 1800
# THIS TEST IS COMMENTED OUT. Tests are supposed to accept
# `state = {cursor_field: value}`. When we have dependent endpoint path
# `path_begin/{some_id}/path_end` we need a complex state like below:
# `{"id1": {cursor_field: value}, "id2": {cursor_field: value}...}`
# The test currently is not supposed to accept this desired construction,
# so it is commented out

# incremental:
# - config_path: "secrets/config.json"
# configured_catalog_path: "integration_tests/configured_catalog.json"
# future_state_path: "integration_tests/state.json"
# cursor_paths:
# lists: [ "date_created" ]
# campaigns: [ "create_time" ]
# Email_activity: [ "timestamp" ]

# Email activities stream has working campaigns with email newsletters.
# Due to this sequential_reads test could be failed.
tests:
- config_path: secrets/config.json
- config_path: secrets/config_apikey.json
- config_path: secrets/config_oauth.json
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog_without_email_activities.json"
timeout_seconds: 1800
- config_path: "secrets/config_oauth.json"
configured_catalog_path: "integration_tests/configured_catalog_without_email_activities.json"
timeout_seconds: 1800
tests:
- config_path: secrets/config.json
configured_catalog_path: integration_tests/configured_catalog_without_email_activities.json
timeout_seconds: 1800
- config_path: secrets/config_oauth.json
configured_catalog_path: integration_tests/configured_catalog_without_email_activities.json
timeout_seconds: 1800
spec:
tests:
- spec_path: source_mailchimp/spec.json
timeout_seconds: 60
connector_image: airbyte/source-mailchimp:dev
test_strictness_level: high