Skip to content

Commit 3511995

Browse files
committed
revert unwanted changes
1 parent bf27274 commit 3511995

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

packages/client/lib/client/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -745,15 +745,3 @@ attachCommands({
745745
executor: RedisClient.prototype.commandsExecutor
746746
});
747747
(RedisClient.prototype as any).Multi = RedisClientMultiCommand;
748-
749-
const client = RedisClient.create();
750-
751-
const a = client.scanIterator(
752-
client.commandOptions({returnBuffers: true})
753-
)
754-
755-
const b = client.scanIterator(
756-
client.commandOptions({returnBuffers: false})
757-
)
758-
759-
const c = client.scanIterator()

packages/test-utils/lib/dockers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const DOCKER_FODLER_PATH = path.join(__dirname, '../docker');
5252
async function spawnRedisServerDocker({ image, version }: RedisServerDockerConfig, serverArguments: Array<string>): Promise<RedisServerDocker> {
5353
const port = (await portIterator.next()).value,
5454
{ stdout, stderr } = await execAsync(
55-
`docker run -d -p ${port}:${port} $(` +
55+
'docker run -d --network host $(' +
5656
`docker build ${DOCKER_FODLER_PATH} -q ` +
5757
`--build-arg IMAGE=${image}:${version} ` +
5858
`--build-arg REDIS_ARGUMENTS="--save '' --port ${port.toString()} ${serverArguments.join(' ')}"` +

0 commit comments

Comments
 (0)