diff --git a/tests/tests_integration/test_api/test_hosted_extractors/conftest.py b/tests/tests_integration/test_api/test_hosted_extractors/conftest.py index 22f0b46811..acd6f22b64 100644 --- a/tests/tests_integration/test_api/test_hosted_extractors/conftest.py +++ b/tests/tests_integration/test_api/test_hosted_extractors/conftest.py @@ -35,7 +35,7 @@ def cleanup_stale_test_sources(cognite_client: CogniteClient) -> None: and now_ms - s.created_time >= 3 * 60 * 60 * 1000 # type: ignore [attr-defined] ] if stale: - cognite_client.hosted_extractors.sources.delete(stale, ignore_unknown_ids=True) + cognite_client.hosted_extractors.sources.delete(stale, force=True, ignore_unknown_ids=True) @pytest.fixture