Skip to content

Commit 4006a0e

Browse files
committed
fix: tests expect hostname, not localhost
1 parent dc2498d commit 4006a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/support/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export const sendANumberOfRandomMessages = async (publisher: Publisher, offset =
220220
}
221221

222222
export const getTestNodesFromEnv = (): { host: string; port: number }[] => {
223-
const envValue = process.env.RABBIT_MQ_TEST_NODES ?? "localhost:5552"
223+
const envValue = process.env.RABBIT_MQ_TEST_NODES ?? "rabbitmq:5552"
224224
const nodes = envValue.split(";")
225225
return nodes.map((n) => {
226226
const [host, port] = n.split(":")

0 commit comments

Comments
 (0)