diff options
Diffstat (limited to 'app/app_test.go')
-rw-r--r-- | app/app_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/app_test.go b/app/app_test.go index 00d08fb14..6f2a3a23a 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -46,3 +46,11 @@ func TestMain(m *testing.M) { status = m.Run() } + +func TestAppRace(t *testing.T) { + for i := 0; i < 10; i++ { + a := New() + a.StartServer() + a.Shutdown() + } +} |