Skip to content

Commit

Permalink
system-test: deploy workload with RBD volumes. (#64)
Browse files Browse the repository at this point in the history
Revert "system-test: remove RBD deployment pre-requisite (#42)"

This reverts commit 9b86c03.

Deploy workload with RBD volume to be used in post reboot tests.
  • Loading branch information
yprokule authored Jun 26, 2024
1 parent 6a5c2ab commit b25b55a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/system-tests/rdscore/tests/00_validate_top_level.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ var _ = Describe(
By("Creating a workload with CephFS PVC")
rdscorecommon.DeployWorkflowCephFSPVC(ctx)

By("Creating a workload with CephRBD PVC")
rdscorecommon.DeployWorkloadCephRBDPVC(ctx)

By("Creating SR-IOV workloads on the same node")
rdscorecommon.VerifySRIOVWorkloadsOnSameNode(ctx)

Expand Down Expand Up @@ -188,6 +191,10 @@ var _ = Describe(
Label("persistent-storage", "verify-cephfs"), reportxml.ID("71873"),
rdscorecommon.VerifyDataOnCephFSPVC)

It("Verifies CephRBD PVC is still accessible",
Label("persistent-storage", "verify-cephrbd"), reportxml.ID("71990"),
rdscorecommon.VerifyDataOnCephRBDPVC)

It("Verifies CephFS workload is deployable after hard reboot",
Label("persistent-storage", "deploy-cephfs-pvc"), reportxml.ID("71851"), MustPassRepeatedly(3),
rdscorecommon.VerifyCephFSPVC)
Expand Down Expand Up @@ -218,6 +225,9 @@ var _ = Describe(
By("Creating a workload with CephFS PVC")
rdscorecommon.DeployWorkflowCephFSPVC(ctx)

By("Creating a workload with CephRBD PVC")
rdscorecommon.DeployWorkloadCephRBDPVC(ctx)

By("Creating SR-IOV worklods that run on same node")
rdscorecommon.VerifySRIOVWorkloadsOnSameNode(ctx)

Expand Down Expand Up @@ -275,6 +285,10 @@ var _ = Describe(
Label("persistent-storage", "verify-cephfs"), reportxml.ID("72042"),
rdscorecommon.VerifyDataOnCephFSPVC)

It("Verifies CephRBD PVC is still accessible",
Label("persistent-storage", "verify-cephrbd"), reportxml.ID("72044"),
rdscorecommon.VerifyDataOnCephRBDPVC)

It("Verifies CephFS workload is deployable after graceful reboot",
Label("persistent-storage", "deploy-cephfs-pvc"), reportxml.ID("72045"), MustPassRepeatedly(3),
rdscorecommon.VerifyCephFSPVC)
Expand Down

0 comments on commit b25b55a

Please sign in to comment.