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 --- app/cluster_discovery_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'app/cluster_discovery_test.go') diff --git a/app/cluster_discovery_test.go b/app/cluster_discovery_test.go index cd61c0f03..c9d7e814d 100644 --- a/app/cluster_discovery_test.go +++ b/app/cluster_discovery_test.go @@ -13,6 +13,7 @@ import ( func TestClusterDiscoveryService(t *testing.T) { th := Setup() + defer th.TearDown() ds := th.App.NewClusterDiscoveryService() ds.Type = model.CDS_TYPE_APP -- cgit v1.2.3-1-g7c22