Merge pull request #81755 from wongma7/skip-ssh-volumes

Skip spec.volumes mount/map test if no SSH
This commit is contained in:
Kubernetes Prow Robot 2019-08-23 03:27:43 -07:00 committed by GitHub
commit 15812bc1c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,6 +321,8 @@ func (t *volumeModeTestSuite) defineTests(driver TestDriver, pattern testpattern
})
ginkgo.It("should not mount / map unused volumes in a pod", func() {
framework.SkipUnlessProviderIs(framework.ProvidersWithSSH...)
framework.SkipUnlessSSHKeyPresent()
if pattern.VolMode == v1.PersistentVolumeBlock {
skipBlockTest(driver)
}