Skip to content
Merged
Changes from 1 commit
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
25 changes: 18 additions & 7 deletions airbyte_cdk/test/standard_tests/connector_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,24 @@ def get_scenarios(
):
continue

test_scenarios.extend(
[
ConnectorTestScenario.model_validate(test)
for test in all_tests_config["acceptance_tests"][category]["tests"]
if "config_path" in test and "iam_role" not in test["config_path"]
]
)
for test in all_tests_config["acceptance_tests"][category]["tests"]:
scenario = ConnectorTestScenario.model_validate(test)

if "config_path" in test and "iam_role" in test["config_path"]:
# We skip iam_role tests for now, as they are not supported in the test suite.
continue

if scenario.expect_exception:
# For now, we skip tests that are expected to fail.
# This is because they create false-positives in the test suite
# if they fail later than expected.
continue

if scenario.config_path in [s.config_path for s in test_scenarios]:
# Skip duplicate scenarios based on config_path
continue

test_scenarios.append(scenario)

connector_root = cls.get_connector_root_dir().absolute()
for test in test_scenarios:
Expand Down
Loading