aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-03-04 14:19:39 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-03-06 18:41:28 +0000
commitc0737e962ca913763e4cc3aa516a2dfffe46659e (patch)
tree195ab85ca0d12e6b2f8b9a73f7f8c5a46bd3bb13 /test
parent2c49ffeb251d4eb11368ca8f866020e317ac09fb (diff)
session: use session index instead of fifo for evt
Avoids derefrencing fifo pointers whose segments could have been unmapped. Change-Id: Ifb0b7399e424f145f3f94b769391a6f4e31bb4e6 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_vcl.py33
1 files changed, 2 insertions, 31 deletions
diff --git a/test/test_vcl.py b/test/test_vcl.py
index 9a8662d2275..b60e0152051 100644
--- a/test/test_vcl.py
+++ b/test/test_vcl.py
@@ -371,37 +371,6 @@ class VCLCutThruTestCase(VCLTestCase):
self.client_bi_dir_nsock_test_args)
-class LDPThruHostStackEcho(VCLTestCase):
- """ LDP Thru Host Stack Echo """
-
- @classmethod
- def setUpClass(cls):
- super(LDPThruHostStackEcho, cls).setUpClass()
-
- @classmethod
- def tearDownClass(cls):
- super(LDPThruHostStackEcho, cls).tearDownClass()
-
- def setUp(self):
- super(LDPThruHostStackEcho, self).setUp()
-
- self.thru_host_stack_setup()
- self.client_echo_test_args = ["-E", self.echo_phrase, "-X",
- self.loop0.local_ip4,
- self.server_port]
-
- def tearDown(self):
- self.thru_host_stack_tear_down()
- super(LDPThruHostStackEcho, self).tearDown()
-
- def test_ldp_thru_host_stack_echo(self):
- """ run LDP thru host stack echo test """
-
- self.thru_host_stack_test("sock_test_server", self.server_args,
- "sock_test_client",
- self.client_echo_test_args)
-
-
class VCLThruHostStackEcho(VCLTestCase):
""" VCL Thru Host Stack Echo """
@@ -494,6 +463,7 @@ class VCLThruHostStackBidirNsock(VCLTestCase):
self.server_port]
def tearDown(self):
+ self.logger.debug(self.vapi.cli("show session verbose 2"))
self.thru_host_stack_tear_down()
super(VCLThruHostStackBidirNsock, self).tearDown()
@@ -537,6 +507,7 @@ class LDPThruHostStackBidirNsock(VCLTestCase):
self.server_port]
def tearDown(self):
+ self.logger.debug(self.vapi.cli("show session verbose 2"))
self.thru_host_stack_tear_down()
super(LDPThruHostStackBidirNsock, self).tearDown()