Skip to content

Commit 9f3b1d4

Browse files
committed
fix redis tests
1 parent 2894d85 commit 9f3b1d4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docker-compose.tst.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "3.9"
21
services:
32
backend:
43
build:
@@ -53,6 +52,8 @@ services:
5352
condition: service_healthy
5453
test-dynamodb-e2e-testing:
5554
condition: service_healthy
55+
test-redis-e2e-testing:
56+
condition: service_healthy
5657
command: ["/bin/sh", "-c", "yarn test $EXTRA_ARGS"]
5758
develop:
5859
watch:
@@ -161,6 +162,15 @@ services:
161162
depends_on:
162163
- backend
163164

165+
test-redis-e2e-testing:
166+
image: redis:7.0.11
167+
command: ["redis-server", "--requirepass", "SuperSecretRedisPassword"]
168+
healthcheck:
169+
test: ["CMD", "redis-cli", "ping"]
170+
interval: 30s
171+
timeout: 10s
172+
retries: 3
173+
164174
# rocketadmin-agent_oracle:
165175
# build:
166176
# context: .

0 commit comments

Comments
 (0)