diff --git a/internal/csi-addons/networkfence/fencing_test.go b/internal/csi-addons/networkfence/fencing_test.go index bbe82120d07..40242cf7907 100644 --- a/internal/csi-addons/networkfence/fencing_test.go +++ b/internal/csi-addons/networkfence/fencing_test.go @@ -68,6 +68,11 @@ func TestFetchIP(t *testing.T) { expectedIP: "172.21.9.34", 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: "", expectedIP: "",