go-ceph/rbd/features_nautilus_test.go

16 lines
259 B
Go
Raw Normal View History

// +build !luminous,!mimic
package rbd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGetFeaturesInNautilus(t *testing.T) {
f, ok := featureNameToBit[FeatureNameMigrating]
assert.True(t, ok)
assert.Equal(t, f, FeatureMigrating)
}