-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
6 changed files
with
402 additions
and
95 deletions.
There are no files selected for viewing
66 changes: 36 additions & 30 deletions
66
airbyte-integrations/connectors/source-gitlab/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,43 @@ | ||
connector_image: airbyte/source-gitlab:dev | ||
tests: | ||
test_strictness_level: "high" | ||
acceptance_tests: | ||
spec: | ||
- spec_path: "source_gitlab/spec.json" | ||
tests: | ||
- spec_path: "source_gitlab/spec.json" | ||
connection: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: ["group_issue_boards"] | ||
expect_records: | ||
path: "integration_tests/expected_records.txt" | ||
- config_path: "secrets/config_with_ids.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: ["group_issue_boards", "epic_issues"] | ||
expect_records: | ||
path: "integration_tests/expected_records_with_ids.txt" | ||
# We cannot use these tests for testing Incremental, since for Gitlab the State is saved for each Project separately, | ||
# and the Acceptance Tests at this stage do not support this functionality. | ||
# Therefore, we hardcode the cursor_paths for our config. | ||
tests: | ||
- config_path: "secrets/config.json" | ||
expect_records: | ||
path: "integration_tests/expected_records.txt" | ||
- config_path: "secrets/config_with_ids.json" | ||
empty_streams: | ||
- name: "epics" | ||
bypass_reason: "Group in this config does not have epics. This stream is tested in the above TC." | ||
- name: "epic_issues" | ||
bypass_reason: "Group in this config does not have epics issues. This stream is tested in the above TC." | ||
expect_records: | ||
path: "integration_tests/expected_records_with_ids.txt" | ||
incremental: | ||
- config_path: "secrets/config_with_ids.json" | ||
configured_catalog_path: "integration_tests/incremental_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
cursor_paths: | ||
commits: ["25157276", "created_at"] | ||
issues: ["25157276", "updated_at"] | ||
merge_requests: ["25157276", "updated_at"] | ||
pipelines: ["25157276", "updated_at"] | ||
tests: | ||
- config_path: "secrets/config_with_ids.json" | ||
configured_catalog_path: "integration_tests/incremental_catalog.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
cursor_paths: | ||
commits: ["25157276", "created_at"] | ||
issues: ["25157276", "updated_at"] | ||
merge_requests: ["25157276", "updated_at"] | ||
pipelines: ["25157276", "updated_at"] | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.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
Oops, something went wrong.