mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
cephfs: add test case for ipv6 address
Signed-off-by: Riya Singhal <rsinghal@redhat.com>
This commit is contained in:
parent
0631c15025
commit
2598300f66
@ -68,6 +68,11 @@ func TestFetchIP(t *testing.T) {
|
|||||||
expectedIP: "172.21.9.34",
|
expectedIP: "172.21.9.34",
|
||||||
expectedErr: false,
|
expectedErr: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
clientInfo: "client.4305 2001:0db8:85a3:0000:0000:8a2e:0370:7334:0/422650892",
|
||||||
|
expectedIP: "2001:db8:85a3::8a2e:370:7334",
|
||||||
|
expectedErr: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
clientInfo: "",
|
clientInfo: "",
|
||||||
expectedIP: "",
|
expectedIP: "",
|
||||||
|
Loading…
Reference in New Issue
Block a user