mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Errors from createdb are non-fatal (#2420)
As they are expected if the database already exists.
This commit is contained in:
parent
d86dcbef66
commit
5c37f165ae
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ func createLocalDB(t *testing.T, dbName string) {
|
||||||
createDB.Stderr = os.Stderr
|
createDB.Stderr = os.Stderr
|
||||||
}
|
}
|
||||||
err := createDB.Run()
|
err := createDB.Run()
|
||||||
if err != nil {
|
if err != nil && !Quiet {
|
||||||
fatalError(t, "createLocalDB returned error: %s", err)
|
fmt.Println("createLocalDB returned error:", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue