From 94852c45b1dbfd373860940ec85efc83776eef0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Mart=C3=ADn=20Bl=C3=A1zquez?= Date: Mon, 5 Aug 2024 13:39:49 +0200 Subject: [PATCH] Add `xfail` (#852) --- tests/integration/test_routing_batch_function.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/test_routing_batch_function.py b/tests/integration/test_routing_batch_function.py index 00d2243940..b4b6eb3e0b 100644 --- a/tests/integration/test_routing_batch_function.py +++ b/tests/integration/test_routing_batch_function.py @@ -71,6 +71,7 @@ def CombineGenerations(*inputs: StepInput) -> "StepOutput": yield combined_list +@pytest.mark.xfail @pytest.mark.timeout(240) def test_routing_batch_function() -> None: with Pipeline(name="test") as pipeline: @@ -92,6 +93,7 @@ def test_routing_batch_function() -> None: assert len(row["generations"]) == 2 +@pytest.mark.xfail @pytest.mark.timeout(240) def test_routing_batch_function_irregular_batch_sizes() -> None: with Pipeline(name="test") as pipeline: @@ -117,6 +119,7 @@ def test_routing_batch_function_irregular_batch_sizes() -> None: assert len(row["generations"]) == 2 +@pytest.mark.xfail @pytest.mark.timeout(240) def test_multiple_routing_batch_function() -> None: batch_size = 200