Skip to content

Commit f3717ca

Browse files
committed
Ignore pion/ice leaks
1 parent 7b3e89d commit f3717ca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

peer/conn_test.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ var (
5050
func TestMain(m *testing.M) {
5151
// pion/ice doesn't properly close immediately. The solution for this isn't yet known. See:
5252
// https://github.com/pion/ice/pull/413
53-
goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func1 "))
53+
goleak.VerifyTestMain(m,
54+
goleak.IgnoreTopFunction("github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func1"),
55+
goleak.IgnoreTopFunction("github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func2"),
56+
goleak.IgnoreTopFunction("github.com/pion/ice/v2.(*Agent).taskLoop"),
57+
goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"),
58+
)
5459
}
5560

5661
func TestConn(t *testing.T) {

0 commit comments

Comments
 (0)