Skip to content

Commit

Permalink
Merge pull request etcd-io#12318 from ptabor/20200920-leak-detection-…
Browse files Browse the repository at this point in the history
…flake-fix

pkg/testutil: Ignore flakes due to "leaked" testing.runTests goroutine
  • Loading branch information
jingyih authored Sep 21, 2020
2 parents 1456655 + 04b9194 commit de1550d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/testutil/leak.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func interestingGoroutines() (gs []string) {
strings.Contains(stack, "created by os/signal.init") ||
strings.Contains(stack, "runtime/panic.go") ||
strings.Contains(stack, "created by testing.RunTests") ||
strings.Contains(stack, "created by testing.runTests") ||
strings.Contains(stack, "testing.Main(") ||
strings.Contains(stack, "runtime.goexit") ||
strings.Contains(stack, "go.etcd.io/etcd/v3/pkg/testutil.interestingGoroutines") ||
Expand Down

0 comments on commit de1550d

Please sign in to comment.