From 9c3db0cc6f530051b08b3e2dfe645ab32129dc06 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Mon, 11 Aug 2025 15:03:40 +0200 Subject: [PATCH 1/2] Disable `test_actor_on_platform_max_request_retries` --- tests/integration/test_crawlers_with_storages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/test_crawlers_with_storages.py b/tests/integration/test_crawlers_with_storages.py index cb1f7e2b..a1f78bbc 100644 --- a/tests/integration/test_crawlers_with_storages.py +++ b/tests/integration/test_crawlers_with_storages.py @@ -2,6 +2,8 @@ from typing import TYPE_CHECKING +import pytest + if TYPE_CHECKING: from .conftest import MakeActorFunction, RunActorFunction @@ -76,6 +78,7 @@ async def default_handler(context: ParselCrawlingContext) -> None: assert run_result.status == 'SUCCEEDED' +@pytest.mark.skip(reason='https://github.com/apify/apify-sdk-python/issues/540') async def test_actor_on_platform_max_request_retries( make_actor: MakeActorFunction, run_actor: RunActorFunction, From 806362102fca00ed8190f9037f77aeb9d4105b09 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Mon, 11 Aug 2025 15:10:02 +0200 Subject: [PATCH 2/2] Update skip reson --- tests/integration/test_crawlers_with_storages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_crawlers_with_storages.py b/tests/integration/test_crawlers_with_storages.py index a1f78bbc..3dd32707 100644 --- a/tests/integration/test_crawlers_with_storages.py +++ b/tests/integration/test_crawlers_with_storages.py @@ -78,7 +78,7 @@ async def default_handler(context: ParselCrawlingContext) -> None: assert run_result.status == 'SUCCEEDED' -@pytest.mark.skip(reason='https://github.com/apify/apify-sdk-python/issues/540') +@pytest.mark.skip(reason='Sometimes crawler does not respect max_request_retries argument, see issue #540') async def test_actor_on_platform_max_request_retries( make_actor: MakeActorFunction, run_actor: RunActorFunction,