mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
e2e: workaround fix for omap leaks
2 omap objects are getting leaked in the e2e tests, this change is to workaround them for now. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
ea8a3548e6
commit
ba6052e896
@ -2767,6 +2767,10 @@ var _ = Describe("RBD", func() {
|
|||||||
e2elog.Failf("failed to check csi journal in pool: %v", err)
|
e2elog.Failf("failed to check csi journal in pool: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = deleteJournalInfoInPool(f, pvc, "replicapool")
|
||||||
|
if err != nil {
|
||||||
|
e2elog.Failf("failed to delete omap data: %v", err)
|
||||||
|
}
|
||||||
err = deletePVCAndApp("", f, pvc, app)
|
err = deletePVCAndApp("", f, pvc, app)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to delete PVC and application: %v", err)
|
e2elog.Failf("failed to delete PVC and application: %v", err)
|
||||||
@ -2807,6 +2811,10 @@ var _ = Describe("RBD", func() {
|
|||||||
e2elog.Failf("failed to check data pool for image: %v", err)
|
e2elog.Failf("failed to check data pool for image: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = deleteJournalInfoInPool(f, pvc, "replicapool")
|
||||||
|
if err != nil {
|
||||||
|
e2elog.Failf("failed to delete omap data: %v", err)
|
||||||
|
}
|
||||||
// cleanup and undo changes made by the test
|
// cleanup and undo changes made by the test
|
||||||
err = deletePVCAndApp("", f, pvc, app)
|
err = deletePVCAndApp("", f, pvc, app)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user