summaryrefslogtreecommitdiffstats
path: root/app/app_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/app_test.go')
-rw-r--r--app/app_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/app_test.go b/app/app_test.go
index 17189956d..2058ddd79 100644
--- a/app/app_test.go
+++ b/app/app_test.go
@@ -48,6 +48,7 @@ func TestMain(m *testing.M) {
func TestAppRace(t *testing.T) {
for i := 0; i < 10; i++ {
a := New()
+ a.UpdateConfig(func(cfg *model.Config) { *cfg.ServiceSettings.ListenAddress = ":0" })
a.StartServer()
a.Shutdown()
}