From 897e0d4eb6c01f53cc6e09ca0e1389de7a0d94ed Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Mon, 29 Feb 2016 18:57:00 +0000 Subject: [PATCH] A 1ms window is ludicrously small; GC can take longer. --- app/collector_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/collector_test.go b/app/collector_test.go index 4e8400cdf2..81caf11724 100644 --- a/app/collector_test.go +++ b/app/collector_test.go @@ -14,7 +14,7 @@ import ( func TestCollector(t *testing.T) { ctx := context.Background() - window := time.Millisecond + window := 10 * time.Second c := app.NewCollector(window) r1 := report.MakeReport() @@ -33,7 +33,6 @@ func TestCollector(t *testing.T) { } c.Add(ctx, r2) - merged := report.MakeReport() merged = merged.Merge(r1) merged = merged.Merge(r2)