Skip to content

Commit 79b46be

Browse files
authored
test(esm/sqs): Skip resource intensive flaky SQS message override test (#12681)
1 parent e10e769 commit 79b46be

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/aws/services/lambda_/event_source_mapping/test_lambda_integration_sqs.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from localstack_snapshot.snapshots.transformer import KeyValueBasedTransformer, SortingTransformer
88

99
from localstack.aws.api.lambda_ import InvalidParameterValueException, Runtime
10+
from localstack.config import is_env_true
1011
from localstack.testing.aws.lambda_utils import _await_event_source_mapping_enabled
1112
from localstack.testing.aws.util import is_aws_cloud
1213
from localstack.testing.pytest import markers
@@ -1601,7 +1602,14 @@ def test_duplicate_event_source_mappings(
16011602
20,
16021603
100,
16031604
1_000,
1604-
10_000,
1605+
pytest.param(
1606+
10_000,
1607+
id="10000",
1608+
marks=pytest.mark.skipif(
1609+
condition=not is_env_true("TEST_PERFORMANCE"),
1610+
reason="Too resource intensive to be randomly allocated to a runner.",
1611+
),
1612+
),
16051613
],
16061614
)
16071615
@markers.aws.only_localstack

0 commit comments

Comments
 (0)