Skip to content

Commit

Permalink
rbd admin: disable TestMirrorSnapshotScheduleStatus on qunicy
Browse files Browse the repository at this point in the history
Will need to be properly debugged later.

Signed-off-by: John Mulligan <[email protected]>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed May 2, 2022
1 parent e0369cd commit 68eff5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rbd/admin/msschedule_complex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package admin

import (
"os"
"testing"
"time"

Expand All @@ -13,7 +14,15 @@ import (
"github.com/ceph/go-ceph/rbd"
)

func skipIfQuincy(t *testing.T) {
vname := os.Getenv("CEPH_VERSION")
if vname == "quincy" {
t.Skipf("disabled on ceph %s", vname)
}
}

func TestMirrorSnapshotScheduleStatus(t *testing.T) {
skipIfQuincy(t)
// note: the status function doesn't return anything "useful" unless
// there's an image in the pool. thus we require an image first.
ensureDefaultPool(t)
Expand Down

0 comments on commit 68eff5d

Please sign in to comment.