mirror of https://github.com/ceph/go-ceph
Add a test for connecting with the cluster name and user name
This commit is contained in:
parent
2835eeac35
commit
c7214b5694
|
@ -466,6 +466,11 @@ func TestNewConnWithUser(t *testing.T) {
|
|||
assert.Equal(t, err, nil)
|
||||
}
|
||||
|
||||
func TestNewConnWithClusterAndUser(t *testing.T) {
|
||||
_, err := rados.NewConnWithClusterAndUser("ceph", "admin")
|
||||
assert.Equal(t, err, nil)
|
||||
}
|
||||
|
||||
func TestReadWriteXattr(t *testing.T) {
|
||||
conn, _ := rados.NewConn()
|
||||
conn.ReadDefaultConfigFile()
|
||||
|
|
Loading…
Reference in New Issue