tp-libvirt
tp-libvirt copied to clipboard
virtual_networks: remove spaces before comparing rx_frames
Fixed a bug related to rx_frames comparison. The issue was that the collected rx_frames contained spaces, while the expected rx_frames did not.
Before:
(1/1) type_specific.io-github-autotest-libvirt.virtual_network.update_device.coalesce.nat_net.update_iface_coalesce: FAIL: rx-frames of vnet0 should be 64, not 64 (31.53 s)
After:
(1/1) type_specific.io-github-autotest-libvirt.virtual_network.update_device.coalesce.nat_net.update_iface_coalesce: PASS (36.08 s)
@dzhengfy Thank you for your comment, I recommitted the changes, please review it again.