Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestNodeExpand (0.12 sec)

  1. pkg/volume/csi/expander_test.go

    	api "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    func TestNodeExpand(t *testing.T) {
    	tests := []struct {
    		name                      string
    		nodeExpansion             bool
    		nodeStageSet              bool
    		success                   bool
    		fsVolume                  bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. pkg/volume/local/local_test.go

    			t.Errorf("DeviceMounter.MountDevice() failed, device mount path not created: %s", expectedGlobalPath)
    		} else {
    			t.Errorf("DeviceMounter.MountDevice() failed: %v", err)
    		}
    	}
    }
    
    func TestNodeExpand(t *testing.T) {
    	// FS global path testing
    	tmpFSDir, plug := getNodeExpandablePlugin(t, false)
    	defer os.RemoveAll(tmpFSDir)
    
    	pvSpec := getTestVolume(false, tmpFSDir, false, nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top