This commit is contained in:
2018-03-21 20:22:57 +01:00
parent 71d6f8c45a
commit 663d93c188
8 changed files with 126 additions and 223 deletions

View File

@ -60,7 +60,7 @@ func configure(app *aero.Application) *aero.Application {
app.OnShutdown(arn.Node.Close)
// Check that this is the server
if !arn.Node.IsServer() {
if !arn.Node.IsServer() && !arn.IsTest() {
panic("Another program is currently running as the database server")
}