- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for 123_ (0.12 sec)
-
cni/pkg/nodeagent/pod_cache_test.go
func TestPodsAppearsWithNilNetnsWhenEnsureIsUsed(t *testing.T) { p := newPodNetnsCache(openNsTestOverride) p.Ensure("123") found := false snap := p.ReadCurrentPodSnapshot() for k, v := range snap { if k == "123" && v == (WorkloadInfo{}) { found = true } } if !found { t.Fatalf("expected pod 123 to be in the cache") } } func TestUpsertPodCacheWithLiveNetns(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.2K bytes - Viewed (0)