remote windows condition when #116693 is merged

Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
This commit is contained in:
guangli.bao 2023-05-24 14:54:22 +08:00
parent 0bff705acd
commit 931cc96b8d

View File

@ -19,7 +19,6 @@ package reconciler
import ( import (
"context" "context"
"fmt" "fmt"
goruntime "runtime"
"testing" "testing"
"time" "time"
@ -691,10 +690,6 @@ func Test_Run_UpdateNodeStatusFailBeforeOneVolumeDetachNodeWithReadWriteOnce(t *
} }
func Test_Run_OneVolumeDetachFailNodeWithReadWriteOnce(t *testing.T) { func Test_Run_OneVolumeDetachFailNodeWithReadWriteOnce(t *testing.T) {
// TODO: Remove skip once https://github.com/kubernetes/kubernetes/issues/116693 is fixed.
if goruntime.GOOS == "windows" {
t.Skip("Skipping test on Windows.")
}
// Arrange // Arrange
volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t) volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
dsw := cache.NewDesiredStateOfWorld(volumePluginMgr) dsw := cache.NewDesiredStateOfWorld(volumePluginMgr)