moby/libnetwork/testutils
Cory Snider baf1fd1c3f libnetwork: check for netns leaks from prior tests
TestProxyNXDOMAIN has proven to be susceptible to failing as a
consequence of unlocked threads being set to the wrong network
namespace. As the failure mode looks a lot like a bug in the test
itself, it seems prudent to add a check for mismatched namespaces to the
test so we will know for next time that the root cause lies elsewhere.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 871cf72363)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-05-23 11:31:28 -04:00
..
context.go libnet/testutils: spawn goroutines in test OS ctxs 2022-11-08 17:55:25 -05:00
context_unix.go libnet/testutils: spawn goroutines in test OS ctxs 2022-11-08 17:55:25 -05:00
context_windows.go libnet/testutils: spawn goroutines in test OS ctxs 2022-11-08 17:55:25 -05:00
sanity_linux.go libnetwork: check for netns leaks from prior tests 2023-05-23 11:31:28 -04:00
sanity_notlinux.go libnetwork: check for netns leaks from prior tests 2023-05-23 11:31:28 -04:00