summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-11-23 16:25:27 +0000
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-11-24 07:01:37 +0000
commit77f9162b4a6545daac9d0de379f64c973eae6f64 (patch)
tree89d635c88966de9977741984233af6942b4a0376 /test
parent19ce5022250da13f253443aa6900c2d1965db0ce (diff)
tests: [re]enable an ARP test form incomplete
Type: test must have been disabled when another test of the same name was added Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I108582a68cc3ac81c03ab641f562ff22947baf30
Diffstat (limited to 'test')
-rw-r--r--test/test_neighbor.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/test_neighbor.py b/test/test_neighbor.py
index b263007bcd9..9f0f97c8cbb 100644
--- a/test/test_neighbor.py
+++ b/test/test_neighbor.py
@@ -1396,13 +1396,8 @@ class ARPTestCase(VppTestCase):
#
# change the interface's MAC
#
- mac = [scapy.compat.chb(0x00), scapy.compat.chb(0x00),
- scapy.compat.chb(0x00), scapy.compat.chb(0x33),
- scapy.compat.chb(0x33), scapy.compat.chb(0x33)]
- mac_string = ''.join(mac)
-
self.vapi.sw_interface_set_mac_address(self.pg1.sw_if_index,
- mac_string)
+ "00:00:00:33:33:33")
#
# now ARP requests come from the new source mac
@@ -1428,7 +1423,7 @@ class ARPTestCase(VppTestCase):
# configured subnet and thus no glean
#
self.vapi.sw_interface_set_mac_address(self.pg2.sw_if_index,
- mac_string)
+ "00:00:00:33:33:33")
def test_garp(self):
""" GARP """
@@ -1559,7 +1554,7 @@ class ARPTestCase(VppTestCase):
self.assertEqual(4, self.statistics.get_err_counter(
"/err/arp-reply/IP4 destination address not local to subnet"))
- def test_arp_incomplete(self):
+ def test_arp_incomplete2(self):
""" Incomplete Entries """
#