File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ The files in this folder represent a simple end to end test.
2
+ At the moment it is interactive, so you need to run ` docker compose up ` in the folder and watch the output for errors.
3
+ Sometimes the mysql container needs more than 15 seconds, so the test_script fails.
4
+ Just try it again.
Original file line number Diff line number Diff line change @@ -129,6 +129,11 @@ services:
129
129
# ############# TEST CONTAINER ###############################################################
130
130
test-container :
131
131
image : alpine
132
+ depends_on :
133
+ - pg
134
+ - mysql
135
+ - speedtest-alpine-mysql
136
+ - speedtest-alpine-pg
132
137
volumes :
133
138
- ./test-script.sh:/test-script.sh
134
139
command :
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # # simple script to call sanitycheck on all containers
4
+
1
5
PORT=8080
2
6
3
7
apk add w3m
4
8
5
9
echo sleeping a little to get things setteled...
6
- sleep 10
10
+ sleep 15
7
11
8
12
for db in sqlite pg mysql; do
9
13
for distro in alpine debian; do
You can’t perform that action at this time.
0 commit comments