Skip to content

Commit

Permalink
Fix error messages match issue
Browse files Browse the repository at this point in the history
  • Loading branch information
miatttao committed Feb 25, 2025
1 parent 9edb03d commit bc04f3f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@

"VNET_ROUTE_TUNNEL_TEST_INVALID_NAME_FORMAT": {
"desc": "VNET route tunnel configuration with invalid name format (missing prefix) in VNET_ROUTE_TUNNEL_LIST table.",
"eStr":["does not match pattern"]
"eStr": "Value \"Vnet1:300.168.1.0/24\" does not satisfy the constraint \"[^:]+:((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2])))\" (range, length, or pattern)\""
},

"VNET_ROUTE_TUNNEL_TEST_INVALID_PREFIX": {
"desc": "VNET route tunnel configuration with invalid prefix format in name field.",
"eStr":["does not match pattern"]
"eStr": "Value \"Vnet1\" does not satisfy the constraint"
},

"VNET_ROUTE_TUNNEL_TEST_MISSING_ENDPOINT": {
Expand All @@ -53,6 +53,6 @@

"VNET_ROUTE_TUNNEL_TEST_DUPLICATE_VXLANID": {
"desc": "VNET route tunnel configuration with duplicate VXLAN ID across entries.",
"eStr": ["VXLAN ID must be unique across all route tunnels"]
"eStr": "Unique data leaf(s) \"vxlanid\" not satisfied"
}
}

0 comments on commit bc04f3f

Please sign in to comment.