Skip to content

Commit bc42474

Browse files
fix up more tests, now only ssl stuff seems to remain. (4 tests)
1 parent fbd0167 commit bc42474

File tree

4 files changed

+8
-35
lines changed

4 files changed

+8
-35
lines changed

src/test/resources/docker-env/docker-compose.yml

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ services:
3535
container_name: redis-standalone-4
3636
volumes:
3737
- ./redis-standalone-4/config:/redis/config:r
38+
environment:
39+
- REDIS_CLUSTER=no
3840
ports:
3941
- "6484:6484"
42+
- "26381:26381"
4043
networks:
4144
- redis-network
4245

@@ -48,44 +51,14 @@ services:
4851
volumes:
4952
- ./redis-standalone-sentinel-controlled/config:/redis/config:r
5053
ports:
54+
- "26380:26380"
55+
- "26379:26379"
5156
- "6482:6482"
5257
- "6483:6483"
5358
networks:
5459
- redis-network
5560

5661

57-
58-
# Sentinel Nodes
59-
sentinel-1:
60-
image: redislabs/client-libs-test:8.0-M02
61-
container_name: sentinel-1
62-
volumes:
63-
- ./sentinel-1/config:/redis/config:r
64-
ports:
65-
- "26379:26379"
66-
networks:
67-
- redis-network
68-
69-
sentinel-2:
70-
image: redislabs/client-libs-test:8.0-M02
71-
container_name: sentinel-2
72-
volumes:
73-
- ./sentinel-2/config:/redis/config:r
74-
ports:
75-
- "26380:26380"
76-
networks:
77-
- redis-network
78-
79-
sentinel-3:
80-
image: redislabs/client-libs-test:8.0-M02
81-
container_name: sentinel-3
82-
volumes:
83-
- ./sentinel-3/config:/redis/config:r
84-
ports:
85-
- "26381:26381"
86-
networks:
87-
- redis-network
88-
8962
ssl-test-cluster:
9063
image: redislabs/client-libs-test:8.0-M02
9164
container_name: ssl-test-cluster
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
port 26381
2-
sentinel monitor mymaster localhost 6482 1
2+
sentinel monitor mymaster localhost 6484 1
33
sentinel announce-hostnames yes
44
sentinel resolve-hostnames yes
55
sentinel announce-ip localhost
66
sentinel down-after-milliseconds mymaster 200
77
sentinel failover-timeout mymaster 200
88
sentinel parallel-syncs mymaster 1
9+
sentinel auth-pass mymaster foobared
910
unixsocket /work/socket-26381
10-
unixsocketperm 777
11-
requirepass foobared
11+
unixsocketperm 777

0 commit comments

Comments
 (0)