Skip to content

Commit 21c47d8

Browse files
committed
Adding e2e tests for ScalingConfig
1 parent 99c54dd commit 21c47d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/tests/test_event_source_mapping.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def test_smoke_sqs_queue_stream(self, lambda_client, lambda_function):
128128
},
129129
]
130130
}
131+
cr["spec"]["scalingConfig"] = {"maximumConcurrency": 4}
131132

132133
# Patch k8s resource
133134
k8s.patch_custom_resource(ref, cr)
@@ -142,6 +143,7 @@ def test_smoke_sqs_queue_stream(self, lambda_client, lambda_function):
142143
"Pattern": "{\"controller-version\":[\"v1\"]}"
143144
},
144145
]
146+
assert esm["ScalingConfig"]["MaximumConcurrency"] == 4
145147

146148
# Delete the filterCriteria field
147149
cr = k8s.wait_resource_consumed_by_controller(ref)

0 commit comments

Comments
 (0)