We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 246d363 + b12db6d commit f927d5bCopy full SHA for f927d5b
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
@@ -2041,7 +2041,11 @@ func TestStoreDeleteCollection(t *testing.T) {
2041
// and reduce the default page size to 2.
2042
storeWithCounter := &storageWithCounter{Interface: registry.Storage.Storage}
2043
registry.Storage.Storage = storeWithCounter
2044
+ originalDeleteCollectionPageSize := deleteCollectionPageSize
2045
deleteCollectionPageSize = 2
2046
+ defer func() {
2047
+ deleteCollectionPageSize = originalDeleteCollectionPageSize
2048
+ }()
2049
2050
numPods := 10
2051
for i := 0; i < numPods; i++ {
0 commit comments