diff options
Diffstat (limited to 'test/test_dhcp.py')
-rw-r--r-- | test/test_dhcp.py | 16 |
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"), ] ) |