Skip to content

Commit

Permalink
iface_update: change huge average value
Browse files Browse the repository at this point in the history
Bug RHEL-45200(libvirt-10.8.0-1) start to reject huge average values larger than
'18014398509481984', so change the test value and error msg.

Signed-off-by: Yanqiu Zhang <[email protected]>
  • Loading branch information
yanqzhan committed Dec 20, 2024
1 parent 5fd257c commit 16d71c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvirt/tests/cfg/virtual_network/iface_update.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@
new_iface_outbound = "{'average':'128','peak':'256','burst':'256'}"
expect_err_msg = "could not convert bandwidth average value|Expected non-negative integer value"
- huge_val:
new_iface_inbound = "{'average':'10000000000000000','peak':'5000','burst':'1024'}"
new_iface_inbound = "{'average':'100000000000000000','peak':'5000','burst':'1024'}"
new_iface_outbound = "{'average':'128','peak':'256','burst':'256'}"
expect_err_msg = 'Illegal "quantum"'
expect_err_msg = "too big for 'average' parameter, maximum is '18014398509481984'"
- missing:
new_iface_inbound = "{'peak':'5000','burst':'1024'}"
new_iface_outbound = "{'peak':'256','burst':'256'}"
Expand Down

0 comments on commit 16d71c8

Please sign in to comment.