mirror of https://github.com/ceph/go-ceph
cephfs admin: add version check for reef
Reef is a valid target for testing fsadmin. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
1257d817db
commit
db97336f62
|
@ -22,12 +22,13 @@ const (
|
||||||
cephOctopus = "octopus"
|
cephOctopus = "octopus"
|
||||||
cephPacfic = "pacific"
|
cephPacfic = "pacific"
|
||||||
cephQuincy = "quincy"
|
cephQuincy = "quincy"
|
||||||
|
cephReef = "reef"
|
||||||
cephMain = "main"
|
cephMain = "main"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
||||||
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephMain:
|
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephReef, cephMain:
|
||||||
serverVersion = vname
|
serverVersion = vname
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +44,7 @@ func TestServerSentinel(t *testing.T) {
|
||||||
// server version it expects and force us to update the tests if a new
|
// server version it expects and force us to update the tests if a new
|
||||||
// version of ceph is added.
|
// version of ceph is added.
|
||||||
if serverVersion == "" {
|
if serverVersion == "" {
|
||||||
t.Fatalf("server must be nautilus, octopus, pacific, or quincy (do the tests need updating?)")
|
t.Fatalf("server must be nautilus, octopus, pacific, quincy, or reef (do the tests need updating?)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue