diff --git a/tests/integration/tunnels.py b/tests/integration/tunnels.py index 2c1b0c808..a915554f2 100644 --- a/tests/integration/tunnels.py +++ b/tests/integration/tunnels.py @@ -229,9 +229,13 @@ def test_tunnel_vxlan(self): ' l3miss ', ' ttl 64 ', ' ageing 100 ']) if self.backend == 'networkd': # checksums are not supported on the NetworkManager backend - self.assert_iface('vx0', [' udpcsum ', ' udp6zerocsumtx ', - ' udp6zerocsumrx ', ' remcsumtx ', - ' remcsumrx ']) + json = self.iface_json('vx0') + data = json.get('linkinfo', {}).get('info_data', {}) + self.assertTrue(data.get('udp_csum')) + self.assertTrue(data.get('udp_zero_csum6_tx')) + self.assertTrue(data.get('udp_zero_csum6_rx')) + self.assertTrue(data.get('remcsum_tx')) + self.assertTrue(data.get('remcsum_rx')) @unittest.skipIf("networkd" not in test_backends,