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
```
Showing
Please
register
or
sign in
to comment