Skip to content

Commit ffcb63c

Browse files
committed
tests: update default runtime for e2e tests
1 parent 353c342 commit ffcb63c

10 files changed

+10
-10
lines changed

packages/logger/tests/e2e/basicFeatures.middy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
TEARDOWN_TIMEOUT
2828
} from './constants';
2929

30-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
30+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
3131

3232
if (!isValidRuntimeKey(runtime)) {
3333
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/logger/tests/e2e/childLogger.manual.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
TEARDOWN_TIMEOUT
2727
} from './constants';
2828

29-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
29+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
3030

3131
if (!isValidRuntimeKey(runtime)) {
3232
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/logger/tests/e2e/logEventEnvVarSetting.middy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
TEARDOWN_TIMEOUT
2727
} from './constants';
2828

29-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
29+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
3030

3131
if (!isValidRuntimeKey(runtime)) {
3232
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/logger/tests/e2e/sampleRate.decorator.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
TEARDOWN_TIMEOUT
2727
} from './constants';
2828

29-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
29+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
3030

3131
if (!isValidRuntimeKey(runtime)) {
3232
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/metrics/tests/e2e/basicFeatures.decorators.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
} from './constants';
3030
import { getMetrics } from '../helpers/metricsUtils';
3131

32-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
32+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
3333

3434
if (!isValidRuntimeKey(runtime)) {
3535
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/metrics/tests/e2e/basicFeatures.manual.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
} from './constants';
3030
import { getMetrics } from '../helpers/metricsUtils';
3131

32-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
32+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
3333

3434
if (!isValidRuntimeKey(runtime)) {
3535
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/tracer/tests/e2e/allFeatures.decorator.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
assertErrorAndFault,
4141
} from '../helpers/traceAssertions';
4242

43-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
43+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
4444

4545
if (!isValidRuntimeKey(runtime)) {
4646
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/tracer/tests/e2e/allFeatures.manual.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
assertAnnotation
4242
} from '../helpers/traceAssertions';
4343

44-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
44+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
4545

4646
if (!isValidRuntimeKey(runtime)) {
4747
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/tracer/tests/e2e/allFeatures.middy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
assertErrorAndFault,
4141
} from '../helpers/traceAssertions';
4242

43-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
43+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
4444

4545
if (!isValidRuntimeKey(runtime)) {
4646
throw new Error(`Invalid runtime key value: ${runtime}`);

packages/tracer/tests/e2e/asyncHandler.decorator.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
assertErrorAndFault,
4242
} from '../helpers/traceAssertions';
4343

44-
const runtime: string = process.env.RUNTIME || 'nodejs16x';
44+
const runtime: string = process.env.RUNTIME || 'nodejs18x';
4545

4646
if (!isValidRuntimeKey(runtime)) {
4747
throw new Error(`Invalid runtime key value: ${runtime}`);

0 commit comments

Comments
 (0)