Skip to content

Commit 1eba82a

Browse files
committed
[12.x] Check redis cluster is ok
1 parent 0df1739 commit 1eba82a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/queues.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ jobs:
168168
redis-server --daemonize yes --port 7001 --appendonly yes --cluster-enabled yes --cluster-config-file nodes-7001.conf
169169
redis-server --daemonize yes --port 7002 --appendonly yes --cluster-enabled yes --cluster-config-file nodes-7002.conf
170170
redis-cli --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 --cluster-replicas 0 --cluster-yes
171+
redis-cli -c -h 127.0.0.1 -p 7000 cluster info | grep "cluster_state:ok"
172+
redis-cli -c -h 127.0.0.1 -p 7001 cluster info | grep "cluster_state:ok"
173+
redis-cli -c -h 127.0.0.1 -p 7002 cluster info | grep "cluster_state:ok"
171174
172175
- name: Execute tests
173176
run: vendor/bin/phpunit tests/Integration/Queue

0 commit comments

Comments
 (0)