Skip to content

Add backoff logic and fix the failing integration tests #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 8, 2023

Conversation

sgandhi1311
Copy link
Member

Description of change

For different error codes - 40200, 40201, 40202, 40700, 50002 add the backoff logic. Instead of max_time added max_tries in the backoff decorator.
Integration test changes - As the support for the dimension - stat_time_day is removed, the records are not available for "ad_insights", "ad_insights_by_age_and_gender", "ad_insights_by_country", "ad_insights_by_platform".

Manual QA steps

  • Add the unit test cases for the different error codes.

Risks

  • Low

Rollback steps

  • revert this branch

sgandhi1311 and others added 4 commits May 24, 2023 18:28
@sgandhi1311 sgandhi1311 merged commit 7a05789 into master Jun 8, 2023
LesleyDing pushed a commit to vibeus/tap-tiktok-ads that referenced this pull request Mar 25, 2024
* add backoff logic for different error codes

* replace max_time with max_retries in the backoff logic

* add parameterized test cases

* Fix the integration test (singer-io#20)

* exclude few streams from testing

* modify interrupt sync test

* modified expected streams for test start date

* setup.py and changelog changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants