Skip to content

Commit ff9f064

Browse files
authored
test: fixed express async error test to purposely misspell a method to emit a crash (#3435)
1 parent aac0d76 commit ff9f064

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424

2525
opensearch:
2626
container_name: nr_node_opensearch
27-
image: opensearchproject/opensearch:2.1.0
27+
image: opensearchproject/opensearch:2
2828
environment:
2929
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
3030
# Disable password

test/versioned/express/erk.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ app.get('/test/:id', function (req, res, next) {
2121
})
2222
})
2323

24-
helper.randomPort(function (port) {
24+
// for the spellchecking police,
25+
// this is intentionally misspelled.
26+
// please do not fix, looking at you bhensley
27+
helper.ranomPort(function (port) {
2528
server.listen(port, function () {
2629
process.on('message', function (code) {
2730
helper.makeGetRequest('http://localhost:' + port + '/test/31337', function () {

0 commit comments

Comments
 (0)