-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Source Greenhouse: fix SAT from failed expected_records (#20515)
- Loading branch information
Showing
3 changed files
with
158 additions
and
569 deletions.
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
109 changes: 80 additions & 29 deletions
109
airbyte-integrations/connectors/source-greenhouse/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,38 +1,89 @@ | ||
# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) | ||
# for more information about how to configure these tests | ||
connector_image: airbyte/source-greenhouse:dev | ||
tests: | ||
acceptance_tests: | ||
spec: | ||
- spec_path: "source_greenhouse/spec.json" | ||
tests: | ||
- spec_path: "source_greenhouse/spec.json" | ||
connection: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/config_invalid.json" | ||
status: "failed" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/config_invalid.json" | ||
status: "failed" | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
- config_path: "secrets/config_users_only.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
- config_path: "secrets/config_users_only.json" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
expect_records: | ||
path: "integration_tests/expected_records.txt" | ||
- config_path: "secrets/config_users_only.json" | ||
# test we do not fail when encounter 403 error | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: [ | ||
"applications", "applications_demographics_answers", "applications_interviews", "candidates", "close_reasons", | ||
"custom_fields", "degrees", "demographics_answers", "demographics_answer_options", "questions", | ||
"demographics_answers_answer_options", "demographics_question_sets", "demographics_question_sets_questions", | ||
"departments", "jobs", "jobs_openings", "interviews", "job_posts", "job_stages", "jobs_stages", "offers", | ||
"rejection_reasons", "scorecards", "sources", "demographics_questions" | ||
] | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
expect_records: | ||
path: "integration_tests/expected_records.txt" | ||
- config_path: "secrets/config_users_only.json" | ||
# test we do not fail when encounter 403 error | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: | ||
- name: "applications" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "applications_demographics_answers" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "applications_interviews" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "candidates" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "close_reasons" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "custom_fields" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "degrees" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "demographics_answers" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "demographics_answer_options" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "questions" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "demographics_answers_answer_options" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "demographics_question_sets" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "demographics_question_sets_questions" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "departments" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "jobs" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "jobs_openings" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "interviews" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "job_posts" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "job_stages" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "jobs_stages" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "offers" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "rejection_reasons" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "scorecards" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "sources" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
- name: "demographics_questions" | ||
bypass_reason: "Could return 0 records because of rate limits" | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
- config_path: "secrets/config_users_only.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_users_only.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
- config_path: "secrets/config_users_only.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_users_only.json" | ||
incremental: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/incremental_configured_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/incremental_configured_catalog.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" |
Oops, something went wrong.