Skip to content

Commit 6021b32

Browse files
authored
revert test utils changes
1 parent 8a8bec6 commit 6021b32

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/test-utils/lib/dockers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface ErrorWithCode extends Error {
1414

1515
async function isPortAvailable(port: number): Promise<boolean> {
1616
try {
17-
const socket = createConnection({ host: '0.0.0.0', port });
17+
const socket = createConnection({ port });
1818
await once(socket, 'connect');
1919
socket.end();
2020
} catch (err) {

packages/test-utils/lib/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export default class TestUtils {
136136

137137
const client = RedisClient.create({
138138
...options?.clientOptions,
139-
url: 'redis://0.0.0.0',
140139
socket: {
141140
...options?.clientOptions?.socket,
142141
port: (await dockerPromise).port

0 commit comments

Comments
 (0)