mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
fix unit test TestAttacherUnmountDevice
Before this test such command fails: ``` make test WHAT=k8s.io/kubernetes/pkg/volume/csi KUBE_TEST_ARGS='-run ^TestAttacherUnmountDevice$' ```
This commit is contained in:
parent
65ead1950f
commit
a9525c8c0a
@ -653,6 +653,8 @@ func TestAttacherUnmountDevice(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
testName: "stage_unstage not set no vars should not fail",
|
testName: "stage_unstage not set no vars should not fail",
|
||||||
|
deviceMountPath: "plugins/csi/pv/test-pv-name/globalmount",
|
||||||
|
jsonFile: `{"driverName":"test-driver","volumeHandle":"test-vol1"}`,
|
||||||
stageUnstageSet: false,
|
stageUnstageSet: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user