Skip to content

Commit

Permalink
fix test store delete collection function failed
Browse files Browse the repository at this point in the history
  • Loading branch information
HirazawaUi committed Nov 7, 2023
1 parent 246d363 commit b12db6d
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -2041,7 +2041,11 @@ func TestStoreDeleteCollection(t *testing.T) {
// and reduce the default page size to 2.
storeWithCounter := &storageWithCounter{Interface: registry.Storage.Storage}
registry.Storage.Storage = storeWithCounter
originalDeleteCollectionPageSize := deleteCollectionPageSize
deleteCollectionPageSize = 2
defer func() {
deleteCollectionPageSize = originalDeleteCollectionPageSize
}()

numPods := 10
for i := 0; i < numPods; i++ {
Expand Down

0 comments on commit b12db6d

Please sign in to comment.