Skip to content

Commit

Permalink
Merge pull request #1070 from weaveworks/993-test-collector
Browse files Browse the repository at this point in the history
A 1ms window is ludicrously small; GC can take longer.
  • Loading branch information
paulbellamy committed Mar 1, 2016
2 parents 19844d3 + 897e0d4 commit 755b660
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -33,7 +33,6 @@ func TestCollector(t *testing.T) {
}

c.Add(ctx, r2)

merged := report.MakeReport()
merged = merged.Merge(r1)
merged = merged.Merge(r2)
Expand Down

0 comments on commit 755b660

Please sign in to comment.