Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NotExist (0.64 sec)

  1. pkg/volume/csi/csi_mounter_test.go

    	}
    	defer os.RemoveAll(existingMountPath)
    
    	tests := []struct {
    		desc           string
    		dir            string
    		expectedResult bool
    	}{
    		{
    			desc:           "NotExist dir",
    			dir:            "/tmp/NotExist",
    			expectedResult: false,
    		},
    		{
    			desc:           "Existing dir",
    			dir:            existingMountPath,
    			expectedResult: false,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    	_, ctx := ktesting.NewTestContext(t)
    	dc, _ := newFakeDisruptionController(ctx)
    	pdb, _ := newMinAvailablePodDisruptionBudget(t, intstr.FromString("67%"))
    	add(t, dc.pdbStore, pdb)
    	if err := dc.sync(ctx, "notExist"); err != nil {
    		t.Errorf("Unexpected error: %v, expect nil", err)
    	}
    }
    
    func TestUpdateDisruptedPods(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	}{
    		"invalid pattern": {
    			input:        "[a-z*.yaml",
    			expectedErr:  "syntax error in pattern",
    			inputInError: true,
    		},
    		"file does not exist": {
    			input:        "../../artifacts/guestbook/notexist.yaml",
    			expectedErr:  "does not exist",
    			inputInError: true,
    		},
    		"directory does not exist and valid glob": {
    			input:        "../../artifacts/_does_not_exist_/*.yaml",
    			expectedErr:  "does not exist",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
Back to top