Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAssumePV (0.24 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	pv, err := cache.GetPV(name)
    	if err != nil {
    		return err
    	}
    	if pv != expectedPV {
    		return fmt.Errorf("GetPV() returned %p, expected %p", pv, expectedPV)
    	}
    	return nil
    }
    
    func TestAssumePV(t *testing.T) {
    	logger, _ := ktesting.NewTestContext(t)
    	scenarios := map[string]struct {
    		oldPV         *v1.PersistentVolume
    		newPV         *v1.PersistentVolume
    		shouldSucceed bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top