summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2024-07-17 16:16:05 -0700
committerFlorin Coras <florin.coras@gmail.com>2024-07-24 04:20:08 +0000
commit5682ca8ef613d47ed51bbd97b3df94d2f91bf290 (patch)
treed21ef3e15d5b591258fb15a9fa320c37337dd3c1 /test
parent5c4c1b63b9ba4c7b0d6f72833a8d706792c8dd9d (diff)
session: delete and add application namespace do not create the global session table
When an application namespace is added, we call session_table_is_alloced to see if we need to allocate a new session table. That check returns true even if we removed the session table. The fix is when we delete an application's global session table, we need to invalidate fib_index_to_table_index. Fixed test_vcl test script to run two tests back to back. The 1st test deletes the application namespace at the end. The 2nd test adds the application namespace in the beginning. Type: fix Fixes: 67bae20b05cb46e5f6d19afeaf1f7a52a5309d59 Change-Id: I67f5cc1b726a07659597a9479df011717db08d0a Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/asf/test_vcl.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/asf/test_vcl.py b/test/asf/test_vcl.py
index a186c6fe8c5..11b77aeb0cc 100644
--- a/test/asf/test_vcl.py
+++ b/test/asf/test_vcl.py
@@ -1006,34 +1006,6 @@ class LDPThruHostStackIperf(VCLTestCase):
iperf3, self.server_iperf3_args, iperf3, self.client_iperf3_args
)
-
-class LDPThruHostStackIperfMss(VCLTestCase):
- """LDP Thru Host Stack Iperf with MSS"""
-
- @classmethod
- def setUpClass(cls):
- super(LDPThruHostStackIperfMss, cls).setUpClass()
-
- @classmethod
- def tearDownClass(cls):
- super(LDPThruHostStackIperfMss, cls).tearDownClass()
-
- def setUp(self):
- super(LDPThruHostStackIperfMss, self).setUp()
-
- self.thru_host_stack_setup()
- self.client_iperf3_timeout = 20
- self.client_iperf3_args = ["-4", "-t 2", "-c", self.loop0.local_ip4]
- self.server_iperf3_args = ["-4", "-s"]
-
- def tearDown(self):
- self.thru_host_stack_tear_down()
- super(LDPThruHostStackIperfMss, self).tearDown()
-
- def show_commands_at_teardown(self):
- self.logger.debug(self.vapi.cli("show session verbose 2"))
- self.logger.debug(self.vapi.cli("show app mq"))
-
@unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.")
def test_ldp_thru_host_stack_iperf3_mss(self):
"""run LDP thru host stack iperf3 test with mss option"""