From 9c4cd869fb08f16f0b855df9afaa49753a2b2017 Mon Sep 17 00:00:00 2001 From: goodboy Date: Thu, 5 Mar 2026 23:43:23 -0500 Subject: [PATCH] OK-FINE, skip streaming docs example on macos! It seems something is up with their VM-img or wtv bc i keep increasing the subproc timeout and nothing is changing. Since i can't try a `-xlarge` one without paying i'm just muting this test for now. --- tests/test_docs_examples.py | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/test_docs_examples.py b/tests/test_docs_examples.py index 9f386c62..0cf55d51 100644 --- a/tests/test_docs_examples.py +++ b/tests/test_docs_examples.py @@ -18,6 +18,7 @@ from tractor._testing import ( ) _non_linux: bool = platform.system() != 'Linux' +_friggin_macos: bool = platform.system() == 'Darwin' @pytest.fixture @@ -122,9 +123,26 @@ def test_example( ''' ex_file: str = os.path.join(*example_script) - if 'rpc_bidir_streaming' in ex_file and sys.version_info < (3, 9): + if ( + 'rpc_bidir_streaming' in ex_file + and + sys.version_info < (3, 9) + ): pytest.skip("2-way streaming example requires py3.9 async with syntax") + if ( + 'full_fledged_streaming_service' in ex_file + and + _friggin_macos + and + ci_env + ): + pytest.skip( + 'Streaming example is too flaky in CI\n' + 'AND their competitor runs this CI service..\n' + 'This test does run just fine "in person" however..' + ) + timeout: float = ( 60 if ci_env and _non_linux