From be5872064d30d88b2331b7fa83235930b3527bbf Mon Sep 17 00:00:00 2001 From: Sergey Novikov Date: Wed, 22 Mar 2017 15:59:29 +0400 Subject: [PATCH] Take into account that MTU isn't constant in case of VXLAN MTU of ovs bridge "br-int" changes when virtual iface for instance is created. It behavior breaks the check that gets difference between network interfaces before and after vm booting Change-Id: I294bc309e8b13a912994a2cf20140e08120d5bbe Closes-Bug: 1674620 --- fuelweb_test/tests/test_ovs_firewall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuelweb_test/tests/test_ovs_firewall.py b/fuelweb_test/tests/test_ovs_firewall.py index 41c9e38e9..2b09d778f 100644 --- a/fuelweb_test/tests/test_ovs_firewall.py +++ b/fuelweb_test/tests/test_ovs_firewall.py @@ -80,8 +80,8 @@ class CheckOVSFirewall(TestBasic): server = os_conn.create_server_for_migration(label=net_name) current_ifaces = self.get_ifaces(compute_ip) current_flows = self.get_flows(compute_ip) - assert_equal(len(set(current_ifaces.stdout) - set(ifaces.stdout)), 1, - "Check is failed. Passed data is not equal:" + assert_equal(len(current_ifaces.stdout) - len(ifaces.stdout), 1, + "Check is failed:" " {}\n\n{}".format(ifaces, current_ifaces)) assert_not_equal(set(flows.stdout), set(current_flows.stdout), "Check is failed. Passed data is equal:"