mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #111171 from MadhavJivrajani/conversion-fix
cacher: Use PodList type for use in GetList
This commit is contained in:
commit
98aab0a00d
@ -647,10 +647,11 @@ func TestCacheDontAcceptRequestsStopped(t *testing.T) {
|
||||
t.Fatalf("Success to create Get: %v", err)
|
||||
}
|
||||
|
||||
listResult := &example.PodList{}
|
||||
err = cacher.GetList(context.TODO(), "pods/ns", storage.ListOptions{
|
||||
ResourceVersion: "1",
|
||||
Recursive: true,
|
||||
}, result)
|
||||
}, listResult)
|
||||
if err == nil {
|
||||
t.Fatalf("Success to create GetList: %v", err)
|
||||
}
|
||||
@ -660,7 +661,6 @@ func TestCacheDontAcceptRequestsStopped(t *testing.T) {
|
||||
case <-time.After(wait.ForeverTestTimeout):
|
||||
t.Errorf("timed out waiting for watch to close")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestTimeBucketWatchersBasic(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user