File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,13 @@ func (t *gcsFuseCSIFailedMountTestSuite) DefineTests(driver storageframework.Tes
480480 })
481481
482482 ginkgo .It ("should fail when invalid bool mount options are passed" , func () {
483- testcaseInvalidMountOptions (specs .InvalidBoolMountOptionsVolumePrefix , "invalid syntax" )
483+ if gcsfuseVersionStr == "" {
484+ gcsfuseVersionStr = specs .GetGCSFuseVersion (ctx )
485+ }
486+ v , err := version .ParseSemantic (gcsfuseVersionStr )
487+ if err == nil && v != nil && v .AtLeast (version .MustParseSemantic ("v3.8.0-gke.0" )) {
488+ testcaseInvalidMountOptions (specs .InvalidBoolMountOptionsVolumePrefix , "invalid syntax" )
489+ }
484490 })
485491
486492 ginkgo .It ("[metadata prefetch] should fail when invalid mount options are passed" , func () {
You can’t perform that action at this time.
0 commit comments