Skip to content

Commit 688f690

Browse files
committed
fixing tests
1 parent 1f2cb32 commit 688f690

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ jobs:
2828
--health-retries 5
2929
ports:
3030
- 5432:5432
31+
redis-sentinel:
32+
image: bitnami/redis-sentinel:7.4-debian-12
33+
ports:
34+
- 26379:26379
35+
env:
36+
REDIS_MASTER_HOST: redis
37+
REDIS_MASTER_SET: myprimary
38+
REDIS_SENTINEL_QUORUM: 1
39+
options: >-
40+
--health-cmd "redis-cli -p 26379 ping"
41+
--health-start-period 5s
42+
--health-interval 10s
43+
--health-timeout 5s
44+
--health-retries 5
45+
3146
3247
env:
3348
# The hostname used to communicate with the Redis service container

0 commit comments

Comments
 (0)