From 9d1d7d271e6e6e9dc40e20a4f7a8b4bf8874b466 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Mon, 9 Dec 2024 17:19:34 +0100 Subject: [PATCH] chore: skip python 3.13 flaky test --- tests/unit/actor/test_actor_lifecycle.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/actor/test_actor_lifecycle.py b/tests/unit/actor/test_actor_lifecycle.py index eb0e41e9..607e1682 100644 --- a/tests/unit/actor/test_actor_lifecycle.py +++ b/tests/unit/actor/test_actor_lifecycle.py @@ -3,6 +3,7 @@ import asyncio import contextlib import json +import sys from typing import Any, Callable, cast import pytest @@ -115,6 +116,7 @@ async def test_actor_reboot_fails_locally() -> None: await Actor.reboot() +@pytest.mark.skipif(sys.version_info >= (3, 13), reason='Suffers flaky behavior on Python 3.13') async def test_actor_handles_migrating_event_correctly(monkeypatch: pytest.MonkeyPatch) -> None: # This should test whether when you get a MIGRATING event, # the Actor automatically emits the PERSIST_STATE event with data `{'isMigrating': True}`