Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkVolumeSatisfyClaim (0.33 sec)

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

    			isExpectedMatch: false,
    			vol:             pvToDelete,
    			pvc:             pvc,
    		},
    	}
    
    	for name, testCase := range satisfyingTestCases {
    		t.Run(name, func(t *testing.T) {
    			err := checkVolumeSatisfyClaim(testCase.vol, testCase.pvc)
    			// expected to match but got an error
    			if err != nil && testCase.isExpectedMatch {
    				t.Errorf("%s: expected to match but got an error: %v", name, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
Back to top