mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #63392 from cofyc/fixlocaltest
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix test "should fail due to non-existent path" under gce-slow **What this PR does / why we need it**: PR #62903 changed error string GetMountRefs() returned, which broke test `should fail due to non-existent path`. Remove error string check to fix test. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: ``` go run hack/e2e.go -- \ --provider=local \ --test \ --test_args="--ginkgo.focus=PersistentVolumes-local.*should\sfail\sdue\sto\snon-existent\spath --clean-start=true" ``` passed now. **Release note**: ```release-note NONE ```
This commit is contained in:
commit
398ced1dcd
@ -386,7 +386,6 @@ var _ = utils.SIGDescribe("PersistentVolumes-local ", func() {
|
||||
reason: "FailedMount",
|
||||
pattern: make([]string, 2)}
|
||||
ep.pattern = append(ep.pattern, "MountVolume.SetUp failed")
|
||||
ep.pattern = append(ep.pattern, "does not exist")
|
||||
|
||||
testVol := &localTestVolume{
|
||||
node: config.node0,
|
||||
|
Loading…
Reference in New Issue
Block a user