mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #81755 from wongma7/skip-ssh-volumes
Skip spec.volumes mount/map test if no SSH
This commit is contained in:
commit
15812bc1c7
@ -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