Skip to content

Commit

Permalink
Techdebt: Add missing Docker markers for SFN tests (#7487)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Mar 18, 2024
1 parent c0152f2 commit db862bc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
get_test_zip_file1,
)

from ...markers import requires_docker
from . import base_url, sfn_allow_lambda_invoke, sfn_role_policy

lambda_state_machine = {
Expand Down Expand Up @@ -131,6 +132,8 @@ def create_function(role_arn: str, role_name: str, fn_name: str):

@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
Expand Down Expand Up @@ -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
):
Expand Down

0 comments on commit db862bc

Please sign in to comment.