rbd: 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:
Yug
2020-07-25 22:10:28 +05:30
committed by mergify[bot]
parent 9b30969594
commit 02b4a7175c
2 changed files with 197 additions and 2 deletions

View File

@ -130,7 +130,7 @@ var _ = Describe("RBD", func() {
var c clientset.Interface
// deploy RBD CSI
BeforeEach(func() {
if !testRBD {
if !testRBD || upgradeTesting {
Skip("Skipping RBD E2E")
}
c = f.ClientSet
@ -152,7 +152,7 @@ var _ = Describe("RBD", func() {
})
AfterEach(func() {
if !testRBD {
if !testRBD || upgradeTesting {
Skip("Skipping RBD E2E")
}
if CurrentGinkgoTestDescription().Failed {