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