mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-08 18:16:59 +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
@ -53,8 +53,8 @@ func createLocalDB(t *testing.T, dbName string) {
|
||||
createDB.Stderr = os.Stderr
|
||||
}
|
||||
err := createDB.Run()
|
||||
if err != nil {
|
||||
fatalError(t, "createLocalDB returned error: %s", err)
|
||||
if err != nil && !Quiet {
|
||||
fmt.Println("createLocalDB returned error:", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user