diff options
Diffstat (limited to 'test/test_map.py')
-rw-r--r-- | test/test_map.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_map.py b/test/test_map.py index 565f7da6491..ffa9218b0c3 100644 --- a/test/test_map.py +++ b/test/test_map.py @@ -8,6 +8,7 @@ from asfframework import VppTestRunner from vpp_ip import DpoProto from vpp_ip_route import VppIpRoute, VppRoutePath from util import fragment_rfc791, fragment_rfc8200 +from config import config import scapy.compat from scapy.layers.l2 import Ether @@ -22,6 +23,7 @@ from scapy.layers.inet6 import ( ) +@unittest.skipIf("map" in config.excluded_plugins, "Exclude MAP plugin tests") class TestMAP(VppTestCase): """MAP Test Case""" @@ -494,7 +496,7 @@ class TestMAP(VppTestCase): # # Send a v4 packet that will be encapped. # - p_ether = Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) + p_ether = Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) p_ip4 = IP(src=self.pg0.remote_ip4, dst="192.168.1.1") p_tcp = TCP(sport=20000, dport=30000, flags="S", options=[("MSS", 1455)]) p4 = p_ether / p_ip4 / p_tcp |