Skip to content

Commit b99451e

Browse files
committed
chore: attempt to get more logs from mysql.
1 parent d6fabdc commit b99451e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ unit-test:
1212
acceptance-test:
1313
docker-compose -f tests/docker-compose.yml build --no-cache
1414
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)
1616
docker-compose -f tests/docker-compose.yml stop
1717

1818
deps:

tests/docker-compose.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
version: "3.7"
22
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"
113
mysql:
124
image: mysql:latest
135
environment:
@@ -17,3 +9,11 @@ services:
179
MYSQL_DATABASE: test_db
1810
ports:
1911
- "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"

0 commit comments

Comments
 (0)