- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for assertNSClosed (0.08 sec)
-
cni/pkg/nodeagent/net_test.go
netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns) // run gc to clean up ns: //revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns runtime.GC() assertNSClosed(t, closed) } func TestServerRemovePodAlwaysRemovesIPSetEntryEvenOnFail(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() setupLogging()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 25 16:13:38 UTC 2024 - 10.7K bytes - Viewed (0)