Skip to content

Commit

Permalink
"test"
Browse files Browse the repository at this point in the history
  • Loading branch information
knusbaum committed Feb 26, 2020
1 parent 55741e3 commit 9fc8171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiler/profiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func TestProfilerPassthrough(t *testing.T) {
}
out := make(chan batch)
cfg := defaultConfig()
cfg.period = 100 * time.Millisecond
cfg.period = 200 * time.Millisecond
cfg.cpuDuration = 1 * time.Millisecond
p := newProfiler(cfg)
p.uploadFunc = func(bat batch) error {
Expand All @@ -203,7 +203,7 @@ func TestProfilerPassthrough(t *testing.T) {
p.run()
var bat batch
select {
case bat = <-p.out:
case bat = <-out:
case <-time.After(500 * time.Millisecond):
t.Fatal("time expired")
}
Expand Down

0 comments on commit 9fc8171

Please sign in to comment.