Skip to content

Commit

Permalink
fix test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindiu authored and actions-user committed Aug 7, 2020
1 parent d4fa50b commit ead3df2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/worker/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ import (
"go.uber.org/goleak"
)

var (
// Goroutine leak is detected by `fastime`, but it should be ignored in the test because it is an external package.
goleakIgnoreOptions = []goleak.Option{
goleak.IgnoreTopFunction("github.com/kpango/fastime.(*Fastime).StartTimerD.func1"),
}
)

func TestNew(t *testing.T) {
type args struct {
opts []WorkerOption
Expand Down

0 comments on commit ead3df2

Please sign in to comment.