mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Skip spec.volumes mount/map test if no SSH
This commit is contained in:
parent
1a53325550
commit
a81ca7ec5f
@ -321,6 +321,8 @@ func (t *volumeModeTestSuite) defineTests(driver TestDriver, pattern testpattern
|
|||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should not mount / map unused volumes in a pod", func() {
|
ginkgo.It("should not mount / map unused volumes in a pod", func() {
|
||||||
|
framework.SkipUnlessProviderIs(framework.ProvidersWithSSH...)
|
||||||
|
framework.SkipUnlessSSHKeyPresent()
|
||||||
if pattern.VolMode == v1.PersistentVolumeBlock {
|
if pattern.VolMode == v1.PersistentVolumeBlock {
|
||||||
skipBlockTest(driver)
|
skipBlockTest(driver)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user