Skip to content

Commit 1c88d8e

Browse files
committed
feat(synthetics): update tests
1 parent d5146ae commit 1c88d8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/aws-cdk-lib/aws-synthetics/test/canary.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ test('Python runtime can be specified', () => {
249249

250250
// WHEN
251251
new synthetics.Canary(stack, 'Canary', {
252-
runtime: synthetics.Runtime.SYNTHETICS_PYTHON_SELENIUM_4_0,
252+
runtime: synthetics.Runtime.SYNTHETICS_PYTHON_SELENIUM_5_0,
253253
test: synthetics.Test.custom({
254254
handler: 'index.handler',
255255
code: synthetics.Code.fromInline('# Synthetics handler code'),
@@ -258,7 +258,7 @@ test('Python runtime can be specified', () => {
258258

259259
// THEN
260260
Template.fromStack(stack).hasResourceProperties('AWS::Synthetics::Canary', {
261-
RuntimeVersion: 'syn-python-selenium-4.0',
261+
RuntimeVersion: 'syn-python-selenium-5.0',
262262
});
263263
});
264264

@@ -322,7 +322,7 @@ test('throw error for enabling both cleanup and provisionedResourceCleanup', ()
322322
});
323323

324324
test.each([
325-
synthetics.Runtime.SYNTHETICS_PYTHON_SELENIUM_2_1,
325+
synthetics.Runtime.SYNTHETICS_PYTHON_SELENIUM_5_1,
326326
synthetics.Runtime.SYNTHETICS_NODEJS_PLAYWRIGHT_1_0,
327327
])('throws when activeTracing is enabled with an unsupported runtime', (runtime) => {
328328
// GIVEN

0 commit comments

Comments
 (0)