rbd admin: disable TestMirrorSnapshotScheduleStatus on qunicy
Will need to be properly debugged later.
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)
