Skip to content

Commit 98ed93b

Browse files
jaystenmarkSean-Der
authored andcommitted
Fix order dependent test in server_test.go
`go test -shuffle=1738872331488754809` now passes
1 parent 31282d5 commit 98ed93b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ func TestSTUNOnly(t *testing.T) {
633633

634634
_, err = client.Allocate()
635635
assert.Equal(t, err.Error(), "Allocate error response (error 400: )")
636+
637+
assert.NoError(t, conn.Close())
636638
}
637639

638640
func RunBenchmarkServer(b *testing.B, clientNum int) { //nolint:cyclop

0 commit comments

Comments
 (0)