Skip to content

Commit e8ee169

Browse files
committed
fix: PR tests
1 parent a5dfc29 commit e8ee169

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/pull_request.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ jobs:
111111
# echo "Waiting for Redis to be ready...";
112112
# sleep 5;
113113
# done
114+
115+
- name: Wait for Redis
116+
run: |
117+
until docker exec $(docker ps -qf "name=redis") redis-cli ping; do
118+
echo "Waiting for Redis to be ready...";
119+
sleep 5;
120+
done
114121
115122
- name: Wait for Kafka
116123
run: |

config/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"redis": {
3-
"host": "redis",
3+
"host": "localhost",
44
"port": 6379,
55
"username": "",
66
"password": "",

0 commit comments

Comments
 (0)