🐛 Source Mixpanel: reimplement backoff strategy (#27752)
* Connector health: source hubspot, gitlab, snapchat-marketing: fix builds
* Add stream ShippingRates
* #2363 source mixpanel: reimplement backoff strategy
* #2363 source mixpanel: upd changelog
* #2363 source mixpanel: revert v0.1.32
* rework rate limits
* wait only when running CAT + increase timeouts
* #2363 return backoff time
* code format
* use env variable instead of a hidden field in the config
* review comments
* review fixes
* fix reading env var
* Resolve conflicts, Bump version
* Attempt to bump version to avoid caching
* split test config into to projects
* rollback version
* undo non related changes
* remove non related changes
* revert new line
* fix funnel slice patching
* fix funnel slice patching
* do not use stream state for generating request params!
* fix updating state
* Revert "do not use stream state for generating request params!"
This reverts commit 443781eaa9.
* revert prev commits
* fix timestamp filtering
---------
Co-authored-by: btkcodedev <btk.codedev@gmail.com>
Co-authored-by: Augustin <augustin@airbyte.io>
Co-authored-by: maxi297 <maxime@airbyte.io>
This commit is contained in:
@@ -32,3 +32,17 @@ def config_raw(config):
|
||||
"start_date": str(config["start_date"]),
|
||||
"end_date": str(config["end_date"]),
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def patch_time(mocker):
|
||||
mocker.patch("time.sleep")
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def disable_cache(mocker):
|
||||
mocker.patch(
|
||||
"source_mixpanel.streams.cohorts.Cohorts.use_cache",
|
||||
new_callable=mocker.PropertyMock,
|
||||
return_value=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user