Merge pull request #121780 from HirazawaUi/fix-delete-collection-test-failed
fix test store delete collection function failed
This commit is contained in:
		@@ -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++ {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user