File tree 2 files changed +1
-13
lines changed
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -745,15 +745,3 @@ attachCommands({
745
745
executor : RedisClient . prototype . commandsExecutor
746
746
} ) ;
747
747
( 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 ( )
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const DOCKER_FODLER_PATH = path.join(__dirname, '../docker');
52
52
async function spawnRedisServerDocker ( { image, version } : RedisServerDockerConfig , serverArguments : Array < string > ) : Promise < RedisServerDocker > {
53
53
const port = ( await portIterator . next ( ) ) . value ,
54
54
{ stdout, stderr } = await execAsync (
55
- ` docker run -d -p ${ port } : ${ port } $(` +
55
+ ' docker run -d --network host $(' +
56
56
`docker build ${ DOCKER_FODLER_PATH } -q ` +
57
57
`--build-arg IMAGE=${ image } :${ version } ` +
58
58
`--build-arg REDIS_ARGUMENTS="--save '' --port ${ port . toString ( ) } ${ serverArguments . join ( ' ' ) } "` +
You can’t perform that action at this time.
0 commit comments