- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestForceUpdateIfOlder (0.19 sec)
-
pkg/kubelet/container/runtime_cache_test.go
cache := NewTestRuntimeCache(runtime) actual, err := cache.GetPods(ctx) if err != nil { t.Errorf("unexpected error %v", err) } comparePods(t, expected, actual) } func TestForceUpdateIfOlder(t *testing.T) { ctx := context.Background() runtime := &ctest.FakeRuntime{} cache := NewTestRuntimeCache(runtime) // Cache old pods. oldpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 2.2K bytes - Viewed (0)