mirror of https://github.com/ceph/go-ceph
rbd admin: disable TestMirrorSnapshotScheduleStatus on qunicy
Will need to be properly debugged later. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
e0369cdf88
commit
68eff5d9e4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue