mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Correct typos in pkg/controller/volume
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
f22a74aa6a
commit
4bafd53a02
@ -659,7 +659,7 @@ func Test_Run_UpdateNodeStatusFailBeforeOneVolumeDetachNodeWithReadWriteOnce(t *
|
||||
// Mock NodeStatusUpdate fail
|
||||
rc.(*reconciler).nodeStatusUpdater = statusupdater.NewFakeNodeStatusUpdater(true /* returnError */)
|
||||
reconciliationLoopFunc()
|
||||
// The first detach will be triggered after at leaset 50ms (maxWaitForUnmountDuration in test).
|
||||
// The first detach will be triggered after at least 50ms (maxWaitForUnmountDuration in test).
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
reconciliationLoopFunc()
|
||||
// Right before detach operation is performed, the volume will be first removed from being reported
|
||||
@ -722,7 +722,7 @@ func Test_Run_OneVolumeDetachFailNodeWithReadWriteOnce(t *testing.T) {
|
||||
// Delete the pod, but detach will fail
|
||||
dsw.DeletePod(types.UniquePodName(podName1), generatedVolumeName, nodeName1)
|
||||
|
||||
// The first detach will be triggered after at leaset 50ms (maxWaitForUnmountDuration in test).
|
||||
// The first detach will be triggered after at least 50ms (maxWaitForUnmountDuration in test).
|
||||
// Right before detach operation is performed, the volume will be first removed from being reported
|
||||
// as attached on node status (RemoveVolumeFromReportAsAttached). After detach operation which is expected to fail,
|
||||
// controller then added the volume back as attached.
|
||||
|
Loading…
Reference in New Issue
Block a user