diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2024-07-23 01:28:19 -0400 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2024-08-07 09:15:17 +0000 |
commit | cf9356d642ce131c6562fcd281c01e51af888ec3 (patch) | |
tree | 8a57da79b102ee9a6c4fa3d8c834591ddfdbaff0 /test/test_ipip.py | |
parent | 0a3b0b231d8d2978c3322cc5ba8e1d2746a6d730 (diff) |
tests: update scapy to version 2.4.5
- Required for Ubuntu 24.04 LTS jobs
- temporarily disable TestIpsecEsp1 and
TestIpsecAhAll tests until a patch can
be added to fix them
Type: test
Change-Id: I1ae7b170117182c3252629bbbb770775e2c496c9
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/test_ipip.py')
-rw-r--r-- | test/test_ipip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ipip.py b/test/test_ipip.py index 9574c2c299c..85b35fa7f24 100644 --- a/test/test_ipip.py +++ b/test/test_ipip.py @@ -88,7 +88,7 @@ class TestIPIP(VppTestCase): self.table.remove_vpp_config() def validate(self, rx, expected): - self.assertEqual(rx, expected.__class__(expected)) + self.assertTrue(bytes(rx), bytes(expected)) def generate_ip4_frags(self, payload_length, fragment_size): p_ether = Ether(src=self.pg1.remote_mac, dst=self.pg1.local_mac) @@ -764,7 +764,7 @@ class TestIPIP6(VppTestCase): rv = self.vapi.ipip_del_tunnel(sw_if_index=self.tunnel_if_index) def validate(self, rx, expected): - self.assertEqual(rx, expected.__class__(expected)) + self.assertTrue(bytes(rx), bytes(expected)) def generate_ip6_frags(self, payload_length, fragment_size): p_ether = Ether(src=self.pg1.remote_mac, dst=self.pg1.local_mac) |