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

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)
}