pull/364/head
Otokaze 5 years ago
parent 76dceb9254
commit db80abe6b5
  1. 3
      tool/testcli/README.MD
  2. 1
      tool/testcli/docker-compose.yaml

@ -142,8 +142,7 @@ func TestMain(m *testing.M) {
defer lich.Teardown() defer lich.Teardown()
d = New() d = New()
if code := m.Run(); code != 0 { if code := m.Run(); code != 0 {
lich.Teardown() panic(code)
os.Exit(code)
} }
} }
``` ```

@ -7,6 +7,7 @@ services:
- 3306:3306 - 3306:3306
environment: environment:
- MYSQL_ROOT_PASSWORD=root - MYSQL_ROOT_PASSWORD=root
- TZ=Asia/Shanghai
volumes: volumes:
- .:/docker-entrypoint-initdb.d - .:/docker-entrypoint-initdb.d
command: [ command: [
Loading…
Cancel
Save