diff --git a/rbd/admin/msschedule_complex_test.go b/rbd/admin/msschedule_complex_test.go index 9715862..749c8e1 100644 --- a/rbd/admin/msschedule_complex_test.go +++ b/rbd/admin/msschedule_complex_test.go @@ -4,6 +4,7 @@ package admin import ( + "os" "testing" "time" @@ -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)