Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NotExist (0.14 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)
Back to top