aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_dhcp.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-07-23 01:28:19 -0400
committerBeno�t Ganne <bganne@cisco.com>2024-08-07 09:15:17 +0000
commitcf9356d642ce131c6562fcd281c01e51af888ec3 (patch)
tree8a57da79b102ee9a6c4fa3d8c834591ddfdbaff0 /test/test_dhcp.py
parent0a3b0b231d8d2978c3322cc5ba8e1d2746a6d730 (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_dhcp.py')
-rw-r--r--test/test_dhcp.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/test_dhcp.py b/test/test_dhcp.py
index 64c4654b418..e668b7bd1c0 100644
--- a/test/test_dhcp.py
+++ b/test/test_dhcp.py
@@ -121,7 +121,7 @@ class TestDHCP(VppTestCase):
for i in dhcp.options:
if isinstance(i, tuple):
- if i[0] == "relay_agent_Information":
+ if i[0] == "relay_agent_information":
#
# There are two sb-options present - each of length 6.
#
@@ -532,7 +532,7 @@ class TestDHCP(VppTestCase):
/ DHCP(
options=[
("message-type", "offer"),
- ("relay_agent_Information", option_82),
+ ("relay_agent_information", option_82),
("end"),
]
)
@@ -543,7 +543,7 @@ class TestDHCP(VppTestCase):
self.pg_enable_capture(self.pg_interfaces)
self.pg_start()
- rx = self.pg3.get_capture(1)
+ rx = self.pg3.get_capture(1, timeout=5)
rx = rx[0]
self.verify_dhcp_offer(rx, self.pg3)
@@ -563,7 +563,7 @@ class TestDHCP(VppTestCase):
/ DHCP(
options=[
("message-type", "offer"),
- ("relay_agent_Information", bad_ip),
+ ("relay_agent_information", bad_ip),
("end"),
]
)
@@ -584,7 +584,7 @@ class TestDHCP(VppTestCase):
/ DHCP(
options=[
("message-type", "offer"),
- ("relay_agent_Information", bad_if_index),
+ ("relay_agent_information", bad_if_index),
("end"),
]
)
@@ -748,7 +748,7 @@ class TestDHCP(VppTestCase):
/ DHCP(
options=[
("message-type", "offer"),
- ("relay_agent_Information", option_82),
+ ("relay_agent_information", option_82),
("end"),
]
)
@@ -761,7 +761,7 @@ class TestDHCP(VppTestCase):
/ DHCP(
options=[
("message-type", "offer"),
- ("relay_agent_Information", option_82),
+ ("relay_agent_information", option_82),
("end"),
]
)
@@ -788,7 +788,7 @@ class TestDHCP(VppTestCase):
/ DHCP(
options=[
("message-type", "offer"),
- ("relay_agent_Information", option_82),
+ ("relay_agent_information", option_82),
("end"),
]
)