Skip to content

Commit 82dac03

Browse files
authored
test: update e2e-testing/sam-nodejs deps (#626)
This removes deps not being used by the 'sam-testing-nodejs' package used in e2e-testing. It bumps elastic-apm-node to its current major version. This also makes some attempts to get e2e-testing working again, but ultimately I did not get far. e2e-testing looks to not have been updated for changes in how the apm-lambda-extension is now built. Obsoletes: #624
1 parent dd272ff commit 82dac03

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ lint:
4545
NOTICE.txt: go.mod
4646
@bash ./scripts/notice.sh
4747

48-
.PHONY: check-linceses
48+
.PHONY: check-licenses
4949
check-licenses:
50-
@go run github.com/elastic/go-licenser@$(GO_LICENSER_VERSION) -d -exclude tf -exclude testing .
51-
@go run github.com/elastic/go-licenser@$(GO_LICENSER_VERSION) -d -exclude tf -exclude testing -ext .java .
52-
@go run github.com/elastic/go-licenser@$(GO_LICENSER_VERSION) -d -exclude tf -exclude testing -ext .js .
50+
@go run github.com/elastic/go-licenser@$(GO_LICENSER_VERSION) -d -exclude tf -exclude testing -exclude e2e-testing .
51+
@go run github.com/elastic/go-licenser@$(GO_LICENSER_VERSION) -d -exclude tf -exclude testing -exclude e2e-testing -ext .java .
52+
@go run github.com/elastic/go-licenser@$(GO_LICENSER_VERSION) -d -exclude tf -exclude testing -exclude e2e-testing -ext .js .
5353

5454

5555
.PHONY: check-notice

e2e-testing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In order to run the Lambda functions locally, the following dependencies must be
1313
## Run
1414

1515
```shell
16-
cd apm-lambda-extension/e2e-testing
16+
cd e2e-testing
1717
go test
1818
```
1919

e2e-testing/sam-nodejs/sam-testing-nodejs/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@
77
"author": "SAM CLI",
88
"license": "MIT",
99
"dependencies": {
10-
"axios": "^0.28.1",
11-
"elastic-apm-node": "^3.26.0"
12-
},
13-
"scripts": {
14-
"test": "mocha tests/unit/"
15-
},
16-
"devDependencies": {
17-
"chai": "^4.2.0",
18-
"mocha": "^8.2.1"
10+
"elastic-apm-node": "^4.11.0"
1911
}
2012
}

e2e-testing/sam-nodejs/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Resources:
2828
Timeout: !Ref TimeoutParam
2929
CodeUri: sam-testing-nodejs/
3030
Handler: app.lambdaHandler
31-
Runtime: nodejs14.x
31+
Runtime: nodejs22.x
3232
Layers:
3333
- !Ref ElasticAPMExtensionLayer
3434
Architectures:

0 commit comments

Comments
 (0)