diff --git a/test/integration_tests/serve_test.py b/test/integration_tests/serve_test.py index 7ed8b6f..ee2b2bf 100644 --- a/test/integration_tests/serve_test.py +++ b/test/integration_tests/serve_test.py @@ -19,13 +19,6 @@ from pyinfra.visitor import get_object_descriptor, QueueVisitor from test.utils.input import pair_data_with_queue_message -@pytest.mark.parametrize( - "s3_backend", - [ - "minio", - "aws", - ], -) @pytest.mark.parametrize( "batched", [ @@ -47,6 +40,15 @@ from test.utils.input import pair_data_with_queue_message True, ], ) +# NOTE: There is a bug in pytest, which leads this test to fail, when n_items has more than one entry and s3_backend is +# the last decorator. Yes, really. +@pytest.mark.parametrize( + "s3_backend", + [ + "minio", + "aws", + ], +) @pytest.mark.parametrize( "n_items", [ @@ -84,7 +86,7 @@ from test.utils.input import pair_data_with_queue_message @pytest.mark.parametrize( "components_type", [ - "test", + # "test", "real", ], )