File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ unit-test:
12
12
acceptance-test :
13
13
docker-compose -f tests/docker-compose.yml build --no-cache
14
14
docker-compose -f tests/docker-compose.yml up -d
15
- go test --count=1 -v ./tests || (docker-compose -f tests/docker-compose.yml logs; docker-compose -f tests/docker-compose.yml stop; exit 1)
15
+ go test --count=1 -v ./tests || (sleep 2 ; docker-compose -f tests/docker-compose.yml logs; docker-compose -f tests/docker-compose.yml stop; exit 1)
16
16
docker-compose -f tests/docker-compose.yml stop
17
17
18
18
deps :
Original file line number Diff line number Diff line change 1
1
version : " 3.7"
2
2
services :
3
- postgres :
4
- image : postgres:latest
5
- environment :
6
- POSTGRES_USER : test_user
7
- POSTGRES_PASSWORD : test_pass
8
- POSTGRES_DB : test_db
9
- ports :
10
- - " 5432:5432"
11
3
mysql :
12
4
image : mysql:latest
13
5
environment :
@@ -17,3 +9,11 @@ services:
17
9
MYSQL_DATABASE : test_db
18
10
ports :
19
11
- " 3306:3306"
12
+ postgres :
13
+ image : postgres:latest
14
+ environment :
15
+ POSTGRES_USER : test_user
16
+ POSTGRES_PASSWORD : test_pass
17
+ POSTGRES_DB : test_db
18
+ ports :
19
+ - " 5432:5432"
You can’t perform that action at this time.
0 commit comments