- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CheckVolumes (0.23 sec)
-
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) -
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) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
if diff := cmp.Diff(pv, newCachedPV); diff != "" { t.Errorf("cached PV check failed (-want, +got):\n%s", diff) } } // Check reactor for API updates if err := env.reactor.CheckVolumes(expectedAPIPVs); err != nil { t.Errorf("API reactor validation failed: %v", err) } } func (env *testEnv) validateProvision( t *testing.T, pod *v1.Pod, expectedPVCs []*v1.PersistentVolumeClaim,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0)