mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
e2e: provide an option to skip rbd and cephfs e2e
Added two new parameters for e2e test to skip rbd and cephfs tests. This will help us to run more test in Travis CI. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
4e82384b43
commit
63b795d165
@ -128,6 +128,9 @@ var _ = Describe("RBD", func() {
|
||||
var c clientset.Interface
|
||||
// deploy RBD CSI
|
||||
BeforeEach(func() {
|
||||
if !testRBD {
|
||||
Skip("Skipping RBD E2E")
|
||||
}
|
||||
c = f.ClientSet
|
||||
if deployRBD {
|
||||
createNodeLabel(f, nodeRegionLabel, regionValue)
|
||||
@ -147,6 +150,9 @@ var _ = Describe("RBD", func() {
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
if !testRBD {
|
||||
Skip("Skipping RBD E2E")
|
||||
}
|
||||
if CurrentGinkgoTestDescription().Failed {
|
||||
// log pods created by helm chart
|
||||
logsCSIPods("app=ceph-csi-rbd", c)
|
||||
|
Reference in New Issue
Block a user