- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AssertCalls (0.13 sec)
-
pkg/kubelet/images/image_manager_test.go
for _, expected := range c.expected { fakeRuntime.CalledFunctions = nil fakeClock.Step(time.Second) _, _, err := puller.EnsureImageExists(ctx, pod, container, nil, nil, "") fakeRuntime.AssertCalls(expected.calls) assert.Equal(t, expected.err, err) assert.Equal(t, expected.shouldRecordStartedPullingTime, fakePodPullingTimeRecorder.startedPullingRecorded)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
if !reflect.DeepEqual(expect, test) { f.T.Errorf("AssertList: expected %#v, got %#v", expect, test) return false } return true } // AssertCalls test if the invoked functions are as expected. func (f *FakeRuntime) AssertCalls(calls []string) bool { f.Lock() defer f.Unlock() return f.assertList(calls, f.CalledFunctions) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.7K bytes - Viewed (0)