Fix drone

This commit is contained in:
Lunny Xiao 2020-02-26 17:15:34 +08:00
parent 5745aa4a65
commit e3a0c2ed04
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
2 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,7 @@ services:
image: cockroachdb/cockroach:v19.2.4
hostname: cockroach
commands:
- start --insecure
- /cockroach/cockroach start --insecure
when:
event:
- push

View File

@ -184,6 +184,7 @@ func TestMain(m *testing.M) {
if err := prepareEngine(); err != nil {
fmt.Println(err)
os.Exit(1)
return
}