From db862bcf3b5ea051d412620caccbc08d72c8f441 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Mon, 18 Mar 2024 19:31:37 +0000 Subject: [PATCH] Techdebt: Add missing Docker markers for SFN tests (#7487) --- .../parser/test_stepfunctions_lambda_integration.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_stepfunctions/parser/test_stepfunctions_lambda_integration.py b/tests/test_stepfunctions/parser/test_stepfunctions_lambda_integration.py index f7b27ed69..29e936051 100644 --- a/tests/test_stepfunctions/parser/test_stepfunctions_lambda_integration.py +++ b/tests/test_stepfunctions/parser/test_stepfunctions_lambda_integration.py @@ -14,6 +14,7 @@ from tests.test_awslambda.utilities import ( get_test_zip_file1, ) +from ...markers import requires_docker from . import base_url, sfn_allow_lambda_invoke, sfn_role_policy lambda_state_machine = { @@ -131,6 +132,8 @@ def aws_verified(func): @aws_verified @pytest.mark.aws_verified +@pytest.mark.network +@requires_docker def test_state_machine_calling_lambda_fn(fn_name=None, fn_arn=None, sleep_time=0): definition = lambda_state_machine.copy() definition["States"]["Open Case"]["Resource"] = fn_arn @@ -202,6 +205,8 @@ def test_state_machine_calling_lambda_fn(fn_name=None, fn_arn=None, sleep_time=0 @aws_verified @pytest.mark.aws_verified +@pytest.mark.network +@requires_docker def test_state_machine_calling_failing_lambda_fn( fn_name=None, fn_arn=None, sleep_time=0 ):