Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ dev = [
"pytest-asyncio<2.0.0",
"pytest-cov<8.0.0",
"pytest-httpserver<2.0.0",
"pytest-rerunfailures<17.0.0",
"pytest-timeout<3.0.0",
"pytest-xdist<4.0.0",
"pytest<10.0.0",
Expand Down
5 changes: 5 additions & 0 deletions tests/e2e/test_actor_api_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import json
from typing import TYPE_CHECKING

import pytest

from apify_shared.consts import ActorPermissionLevel
from crawlee._utils.crypto import crypto_random_object_id

Expand Down Expand Up @@ -387,6 +389,9 @@ async def main() -> None:
assert reboot_counter['value'] == 2


# Flaky: the server Actor blocks until the platform delivers the client's `ACTOR_RUN_SUCCEEDED` webhook; when
# delivery is delayed past the run timeout, the run ends as `TIMED-OUT`. Platform-side, outside our control, so retry.
@pytest.mark.flaky(reruns=3)
async def test_actor_adds_webhook_and_receives_event(
make_actor: MakeActorFunction,
run_actor: RunActorFunction,
Expand Down
15 changes: 15 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading