mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
cephfs: add upgrade testing
Upgrade testing will enable us to keep in check the backward compatibility of earlier releases. Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
@ -23,6 +23,7 @@ var (
|
||||
cephfsDeamonSetName = "csi-cephfsplugin"
|
||||
cephfsDirPath = "../deploy/cephfs/kubernetes/"
|
||||
cephfsExamplePath = "../examples/cephfs/"
|
||||
subvolumegroup = "e2e"
|
||||
)
|
||||
|
||||
func deployCephfsPlugin() {
|
||||
@ -115,7 +116,7 @@ var _ = Describe("cephfs", func() {
|
||||
var c clientset.Interface
|
||||
// deploy cephfs CSI
|
||||
BeforeEach(func() {
|
||||
if !testCephFS {
|
||||
if !testCephFS || upgradeTesting {
|
||||
Skip("Skipping CephFS E2E")
|
||||
}
|
||||
c = f.ClientSet
|
||||
@ -133,7 +134,7 @@ var _ = Describe("cephfs", func() {
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
if !testCephFS {
|
||||
if !testCephFS || upgradeTesting {
|
||||
Skip("Skipping CephFS E2E")
|
||||
}
|
||||
if CurrentGinkgoTestDescription().Failed {
|
||||
|
Reference in New Issue
Block a user