1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00
Tom Barker 34cdfa258b Test_Connections currently fails intermittently on Linux (and maybe
other OSs), and fails consistently if run with `go test -times=N`

On inspection, Go closes TCP connections when they go out of scope and
are garbage collected. I've re-written Test_Connections() to explicitly
close connectections once the test has finished. This has the other
benefit of closing gracefully, which means the -times argument should
work.

I've also removed the t.Skip() calls inside goroutines as they are
unsupported.
2021-08-19 10:40:27 -04:00
..
2017-02-01 23:05:29 +00:00
2017-02-01 23:05:29 +00:00
2017-02-01 23:05:29 +00:00
2020-08-10 21:26:24 -07:00
2017-02-01 23:05:29 +00:00