aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/test
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2021-01-29 13:17:19 +0000
committerOle Tr�an <otroan@employees.org>2021-02-11 09:54:02 +0000
commit8dc0d488e62323a6f2814a74130934f5ed2bf724 (patch)
treee06e93d2a9c3af0fe2be2801ea9c5c31a338ab34 /src/plugins/nat/test
parentd5d253d618d7c381cfc9d1b557b5242e2dd2c2e7 (diff)
tests: tag the tests that do not work with multi-worker configuration
If the multi-worker default VPP configuration is triggered by setting VPP_WORKER_CONFIG="workers 2", some of the tests fail for various reasons. It's a substantial number, so this change marks all of the testsets that have this issue, such that they can be addressed later independently. Type: test Change-Id: I4f77196499edef3300afe7eabef9cbff91f794d3 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/nat/test')
-rw-r--r--src/plugins/nat/test/test_dslite.py2
-rw-r--r--src/plugins/nat/test/test_nat44_ed.py3
-rw-r--r--src/plugins/nat/test/test_nat44_ei.py2
-rw-r--r--src/plugins/nat/test/test_nat64.py2
4 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/nat/test/test_dslite.py b/src/plugins/nat/test/test_dslite.py
index af256e39fc4..2b4f4aacc9f 100644
--- a/src/plugins/nat/test/test_dslite.py
+++ b/src/plugins/nat/test/test_dslite.py
@@ -5,6 +5,7 @@ import unittest
import struct
import random
+from framework import tag_fixme_vpp_workers
from framework import VppTestCase, VppTestRunner, running_extended_tests
import scapy.compat
@@ -33,6 +34,7 @@ from scapy.all import bind_layers, Packet, ByteEnumField, ShortField, \
from ipaddress import IPv6Network
+@tag_fixme_vpp_workers
class TestDSlite(VppTestCase):
""" DS-Lite Test Cases """
diff --git a/src/plugins/nat/test/test_nat44_ed.py b/src/plugins/nat/test/test_nat44_ed.py
index 3d8921790ee..f4d53e9f850 100644
--- a/src/plugins/nat/test/test_nat44_ed.py
+++ b/src/plugins/nat/test/test_nat44_ed.py
@@ -5,6 +5,7 @@ from io import BytesIO
from random import randint
import scapy.compat
+from framework import tag_fixme_vpp_workers
from framework import VppTestCase, VppTestRunner
from scapy.data import IP_PROTOS
from scapy.layers.inet import IP, TCP, UDP, ICMP, GRE
@@ -916,6 +917,7 @@ class NAT44EDTestCase(VppTestCase):
"%d" % self.tcp_external_port)
+@tag_fixme_vpp_workers
class TestNAT44ED(NAT44EDTestCase):
""" NAT44ED Test Case """
@@ -1904,6 +1906,7 @@ class TestNAT44ED(NAT44EDTestCase):
raise
+@tag_fixme_vpp_workers
class TestNAT44EDMW(TestNAT44ED):
""" NAT44ED MW Test Case """
worker_config = "workers 1"
diff --git a/src/plugins/nat/test/test_nat44_ei.py b/src/plugins/nat/test/test_nat44_ei.py
index 471d1483cf8..999f91ecda8 100644
--- a/src/plugins/nat/test/test_nat44_ei.py
+++ b/src/plugins/nat/test/test_nat44_ei.py
@@ -9,6 +9,7 @@ from io import BytesIO
from time import sleep
import scapy.compat
+from framework import tag_fixme_vpp_workers
from framework import VppTestCase, VppTestRunner
from ipfix import IPFIX, Set, Template, Data, IPFIXDecoder
from scapy.all import bind_layers, Packet, ByteEnumField, ShortField, \
@@ -885,6 +886,7 @@ class TestNAT44EIAPI(MethodHolder):
self.assertEqual(256, nat_config.frame_queue_nelts)
+@tag_fixme_vpp_workers
class TestNAT44EI(MethodHolder):
""" NAT44EI Test Cases """
diff --git a/src/plugins/nat/test/test_nat64.py b/src/plugins/nat/test/test_nat64.py
index d3bec97801e..9a10b9fc380 100644
--- a/src/plugins/nat/test/test_nat64.py
+++ b/src/plugins/nat/test/test_nat64.py
@@ -9,6 +9,7 @@ from io import BytesIO
from time import sleep
import scapy.compat
+from framework import tag_fixme_vpp_workers
from framework import VppTestCase, VppTestRunner, running_extended_tests
from ipfix import IPFIX, Set, Template, Data, IPFIXDecoder
from scapy.data import IP_PROTOS
@@ -25,6 +26,7 @@ from util import ppc, ppp
from vpp_papi import VppEnum
+@tag_fixme_vpp_workers
class TestNAT64(VppTestCase):
""" NAT64 Test Cases """