Skip to content

Commit 1134119

Browse files
committed
finally
1 parent 7820f66 commit 1134119

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -916,12 +916,6 @@ jobs:
916916
with:
917917
use-installer: true
918918
token: ${{ secrets.GITHUB_TOKEN }}
919-
- name: Pull SAM Docker images
920-
if: matrix.test-application == 'aws-serverless'
921-
run: |
922-
docker pull public.ecr.aws/sam/build-nodejs18.x:latest
923-
docker pull public.ecr.aws/sam/build-nodejs20.x:latest
924-
docker pull public.ecr.aws/sam/build-nodejs22.x:latest
925919
- name: Restore caches
926920
uses: ./.github/actions/restore-cache
927921
with:
@@ -968,6 +962,16 @@ jobs:
968962
browsers: chromium
969963
cwd: ${{ runner.temp }}/test-application
970964

965+
- name: Pull SAM Node 18 image
966+
if: matrix.test-application == 'aws-serverless' && contains(matrix.assert-command, 'NODE_VERSION=18')
967+
run: |
968+
docker pull public.ecr.aws/sam/build-nodejs18.x:latest
969+
970+
- name: Pull SAM Node 20 image
971+
if: matrix.test-application == 'aws-serverless' && contains(matrix.assert-command, 'NODE_VERSION=20')
972+
run: |
973+
docker pull public.ecr.aws/sam/build-nodejs20.x:latest
974+
971975
- name: Run E2E test
972976
working-directory: ${{ runner.temp }}/test-application
973977
timeout-minutes: 10
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
22

3-
export default getPlaywrightConfig(undefined, {
4-
timeout: 100000,
5-
});
3+
export default getPlaywrightConfig();

dev-packages/e2e-tests/test-applications/aws-serverless/src/lambda-functions-npm/TracingEsm/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ export const handler = Sentry.wrapHandler(async () => {
2020
req.end();
2121
});
2222

23-
Sentry.startSpan({ name: 'manual-span', op: process.version }, () => {});
23+
Sentry.startSpan({ name: 'manual-span', op: 'manual' }, () => {});
2424
});

dev-packages/e2e-tests/test-applications/aws-serverless/tests/lambda-fixtures.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ export const test = base.extend<{ testEnvironment: LocalLambdaStack; lambdaClien
4545
args.push('--invoke-image', `public.ecr.aws/sam/build-nodejs${process.env.NODE_VERSION}.x:latest`);
4646
}
4747

48-
console.log(`[testEnvironment fixture] NODE_VERSION: ${process.env.NODE_VERSION}`);
4948
console.log(`[testEnvironment fixture] Running SAM with args: ${args.join(' ')}`);
5049

5150
const samProcess = spawn('sam', args, {

0 commit comments

Comments
 (0)