Browse Source

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
Sergey Novikov 2 years ago
parent
commit
be5872064d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      fuelweb_test/tests/test_ovs_firewall.py

+ 2
- 2
fuelweb_test/tests/test_ovs_firewall.py View File

@@ -80,8 +80,8 @@ class CheckOVSFirewall(TestBasic):
80 80
             server = os_conn.create_server_for_migration(label=net_name)
81 81
             current_ifaces = self.get_ifaces(compute_ip)
82 82
         current_flows = self.get_flows(compute_ip)
83
-        assert_equal(len(set(current_ifaces.stdout) - set(ifaces.stdout)), 1,
84
-                     "Check is failed. Passed data is not equal:"
83
+        assert_equal(len(current_ifaces.stdout) - len(ifaces.stdout), 1,
84
+                     "Check is failed:"
85 85
                      " {}\n\n{}".format(ifaces, current_ifaces))
86 86
         assert_not_equal(set(flows.stdout), set(current_flows.stdout),
87 87
                          "Check is failed. Passed data is equal:"

Loading…
Cancel
Save