Skip to content

Commit

Permalink
Fix order dependent test in server_test.go
Browse files Browse the repository at this point in the history
`go test -shuffle=1738872331488754809` now passes
  • Loading branch information
jaystenmark authored and Sean-Der committed Feb 14, 2025
1 parent 31282d5 commit 98ed93b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,8 @@ func TestSTUNOnly(t *testing.T) {

_, err = client.Allocate()
assert.Equal(t, err.Error(), "Allocate error response (error 400: )")

assert.NoError(t, conn.Close())
}

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

0 comments on commit 98ed93b

Please sign in to comment.