Skip to content

Commit d2e98ff

Browse files
authored
Source TikTok Marketing: enabled high test strictness level in SAT (#22244)
Signed-off-by: Sergey Chvalyuk <[email protected]>
1 parent 517fc6a commit d2e98ff

File tree

3 files changed

+145
-53
lines changed

3 files changed

+145
-53
lines changed

airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-config.yml

Lines changed: 21 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# for more information about how to configure these tests
33

44
connector_image: airbyte/source-tiktok-marketing:dev
5-
cache_discovered_catalog: False
5+
test_strictness_level: "high"
66
acceptance_tests:
77
spec:
88
tests:
@@ -48,6 +48,11 @@ acceptance_tests:
4848
basic_read:
4949
tests:
5050
- config_path: "secrets/config.json"
51+
expect_records:
52+
path: "integration_tests/expected_records.jsonl"
53+
extra_fields: no
54+
exact_order: no
55+
extra_records: yes
5156
timeout_seconds: 1200
5257
empty_streams:
5358
- name: ads_reports_hourly
@@ -58,64 +63,27 @@ acceptance_tests:
5863
bypass_reason: "Tested with daily granularity."
5964
- name: campaigns_reports_hourly
6065
bypass_reason: "Tested with daily granularity."
61-
- name: advertisers_reports
62-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
63-
- name: advertisers_audience_reports
64-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
65-
- name: campaigns_audience_reports_by_country
66-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
67-
- name: ad_group_audience_reports
68-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
69-
- name: ads_audience_reports
70-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
71-
- name: ad_groups_reports
72-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
73-
- name: ads_reports
74-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
75-
- name: campaigns_reports
76-
bypass_reason: "Stream was added during discover with granularity config. Will be tested below."
7766
# Old style streams with granularity config (for < 0.1.13)
7867
# Note: not needed to be tested separately in full and incremental tests, because code of
7968
# these streams is called directly in new style streams
8069
- config_path: "secrets/prod_config_with_day_granularity.json"
70+
expect_records:
71+
path: "integration_tests/expected_records2.jsonl"
72+
extra_fields: no
73+
exact_order: no
74+
extra_records: yes
8175
timeout_seconds: 1200
8276
empty_streams:
83-
- name: ads_reports_lifetime
84-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
85-
- name: ad_groups_reports_daily
86-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
87-
- name: advertisers_audience_reports_lifetime
88-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
89-
- name: campaigns_reports_daily
90-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
91-
- name: ads_reports_daily
92-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
93-
- name: advertisers_reports_daily
94-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
95-
- name: ad_groups_reports_lifetime
96-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
97-
- name: campaigns_reports_hourly
98-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
99-
- name: ads_audience_reports_daily
100-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
101-
- name: ads_audience_reports_daily
102-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
103-
- name: ad_group_audience_reports_daily
104-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
105-
- name: campaigns_reports_lifetime
106-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
107-
- name: ad_groups_reports_hourly
108-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
109-
- name: advertisers_reports_lifetime
110-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
111-
- name: campaigns_audience_reports_by_country_daily
112-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
113-
- name: advertisers_audience_reports_daily
114-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
115-
- name: advertisers_reports_hourly
116-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
117-
- name: ads_reports_hourly
118-
bypass_reason: "Stream was added during discover without granularity config. Was tested abowe."
77+
- name: ad_groups
78+
bypass_reason: "This stream is tested on the new style config."
79+
- name: ads
80+
bypass_reason: "This stream is tested on the new style config."
81+
- name: advertiser_ids
82+
bypass_reason: "This stream is tested on the new style config."
83+
- name: advertisers
84+
bypass_reason: "This stream is tested on the new style config."
85+
- name: campaigns
86+
bypass_reason: "This stream is tested on the new style config."
11987
full_refresh:
12088
tests:
12189
- config_path: "secrets/prod_config_with_day_granularity.json"

0 commit comments

Comments
 (0)