Make sure to close fake server connection in tests
This commit is contained in:
parent
8f7fdcbdca
commit
6749b2ace8
@ -31,6 +31,7 @@ func Test_portAvailable(t *testing.T) {
|
||||
if err == nil {
|
||||
conn.Close()
|
||||
}
|
||||
serv.Close()
|
||||
}
|
||||
}()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user