Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckVolumes (0.18 sec)

  1. pkg/controller/volume/persistentvolume/testing/testing.go

    			return expected.Error
    		}
    	}
    	return nil
    }
    
    // CheckVolumes compares all expectedVolumes with set of volumes at the end of
    // the test and reports differences.
    func (r *VolumeReactor) CheckVolumes(expectedVolumes []*v1.PersistentVolume) error {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    
    	expectedMap := make(map[string]*v1.PersistentVolume)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/framework_test.go

    		// Finish all operations that are in progress
    		r.ctrl.runningOperations.WaitForCompletion()
    
    		// Return 'true' if the reactor reached the expected state
    		err1 := r.CheckClaims(test.expectedClaims)
    		err2 := r.CheckVolumes(test.expectedVolumes)
    		if err1 == nil && err2 == nil {
    			return true, nil
    		}
    		return false, nil
    	})
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
Back to top