cephfs: TestCreateMount should not try to mount twice
Somehow we managed to introduce extra code into TestCreateMount that
had it create two mounts. This is undesirable for this test so this
change eliminates the extra unwanted invocation.
@@ -65,10 +65,10 @@ func useMount(t *testing.T) {
}
func TestCreateMount(t *testing.T) {
- mount := fsConnect(t)
mount, err := CreateMount()
assert.NoError(t, err)
assert.NotNil(t, mount)
+ assert.NoError(t, mount.Release())
}
func fsConnect(t *testing.T) *MountInfo {
