Skip to content

Commit

Permalink
[#194] Fix Node@18+ localhost ipv6 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed Jul 15, 2024
1 parent 6cdb47c commit 6ed88a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/instrumentation/module/fix-redis.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ test("ioredis destination id", async function (t) {

const spanevent = trace.storage.storage[0]
t.equal(spanevent.destinationId, "Redis", "Redis destionation ID check")
t.true(spanevent.endPoint.endsWith(`:6379`), `localhost:6379`)
t.true(spanevent.endPoint.endsWith(`:${port}`), `localhost:${port}`)

redis.quit()
agent.completeTraceObject(trace)
Expand Down

0 comments on commit 6ed88a7

Please sign in to comment.