- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDoubleTake (0.14 sec)
-
cni/pkg/nodeagent/pod_cache_test.go
if netns2 != ns { t.Fatalf("Expected the original Netns for the same uid, got %p and %p", netns2, ns) } if !ns2.closed.Load() { t.Fatal("Expected the second Netns to be closed") } } func TestDoubleTake(t *testing.T) { p := newPodNetnsCache(openNsTestOverride) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}} ns := newFakeNs(inc()) wl := WorkloadInfo{ Workload: podToWorkload(pod),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 4.2K bytes - Viewed (0)