diff --git a/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py index 4adbe90a73926..a096ee3d9118e 100644 --- a/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py @@ -19,8 +19,8 @@ from yaml import Loader parser = argparse.ArgumentParser(description="Migrate legacy acceptance-test-config.yml to the latest configuration format.") -parser.add_argument("config_path", type=str, help="Path to the acceptance-test-config.yml to migrate.") - +parser.add_argument("--connectors", nargs='*') +parser.add_argument("--file") def get_new_config_format(config_path: Path): @@ -65,6 +65,6 @@ def migrate_configuration(config_path): else: connector_names = [] - for connector in connector_names: + for connector in ["source-bing-ads"]: config_path = utils.acceptance_test_config_path(connector) migrate_configuration(config_path) diff --git a/airbyte-integrations/connectors/source-bing-ads/acceptance-test-config.yml b/airbyte-integrations/connectors/source-bing-ads/acceptance-test-config.yml index e9b4755f35b0b..2317b1d026bc5 100644 --- a/airbyte-integrations/connectors/source-bing-ads/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-bing-ads/acceptance-test-config.yml @@ -19,23 +19,24 @@ acceptance_tests: tests: - config_path: secrets/config.json expect_records: - path: "integration_tests/expected_records.txt" - extra_records: yes + path: integration_tests/expected_records.txt + extra_records: true empty_streams: - name: account_performance_report_hourly - bypass_reason: "Hourly reports are disabled, because sync is too long" + bypass_reason: Hourly reports are disabled, because sync is too long - name: ad_group_performance_report_hourly - bypass_reason: "Hourly reports are disabled, because sync is too long" + bypass_reason: Hourly reports are disabled, because sync is too long - name: ad_performance_report_hourly - bypass_reason: "Hourly reports are disabled, because sync is too long" + bypass_reason: Hourly reports are disabled, because sync is too long - name: campaign_performance_report_hourly - bypass_reason: "Hourly reports are disabled, because sync is too long" + bypass_reason: Hourly reports are disabled, because sync is too long - name: keyword_performance_report_hourly - bypass_reason: "Hourly reports are disabled, because sync is too long" + bypass_reason: Hourly reports are disabled, because sync is too long full_refresh: tests: - config_path: secrets/config.json configured_catalog_path: integration_tests/configured_catalog.json incremental: - tests: - bypass_reason: "SAT doesn't support complex nested states used in incremental report streams" + tests: null + bypass_reason: SAT doesn't support complex nested states used in incremental report + streams