From 07777f5ff9e0bde26abd0288164e5f73b6da992a Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 4 Oct 2017 13:09:41 -0700 Subject: Fix races / finally remove global app for good (#7570) * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up --- api/admin_test.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'api') diff --git a/api/admin_test.go b/api/admin_test.go index dadc96c7d..e4ff1c202 100644 --- a/api/admin_test.go +++ b/api/admin_test.go @@ -8,16 +8,11 @@ import ( "strings" "testing" - "github.com/mattermost/mattermost-server/app" "github.com/mattermost/mattermost-server/model" "github.com/mattermost/mattermost-server/store" "github.com/mattermost/mattermost-server/utils" ) -func init() { - app.UseGlobalApp = false -} - func TestGetLogs(t *testing.T) { th := Setup().InitSystemAdmin().InitBasic() defer th.TearDown() -- cgit v1.2.3-1-g7c22