- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testUID (0.05 sec)
-
cni/pkg/nodeagent/pod_cache_test.go
} } func TestUpsertPodCache(t *testing.T) { counter.Store(0) p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 1)) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}} nspath1 := "/path/to/netns/1" nspath2 := "/path/to/netns/2" netns1, err := p.UpsertPodCache(pod, nspath1) if err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 4.2K bytes - Viewed (0)