tests: add VCL Thru Host Stack TLS in interrupt mode 46/37646/3
authorFilip Tehlar <ftehlar@cisco.com>
Fri, 11 Nov 2022 10:56:54 +0000 (11:56 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 21 Nov 2022 17:51:54 +0000 (17:51 +0000)
Type: test

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I7d5a9e9fedfc85bd7fad88f8eae1e46476ec0b7b

test/asf/test_vcl.py

index eaca105..cfa9777 100644 (file)
@@ -594,6 +594,28 @@ class VCLThruHostStackTLS(VCLTestCase):
         self.logger.debug(self.vapi.cli("show app mq"))
 
 
+class VCLThruHostStackEchoInterruptMode(VCLThruHostStackEcho):
+    """VCL Thru Host Stack Echo interrupt mode"""
+
+    @classmethod
+    def setUpClass(cls):
+        cls.session_startup = ["use-private-rx-mqs", "use-app-socket-api"]
+        super(VCLThruHostStackEcho, cls).setUpClass()
+
+    def test_vcl_thru_host_stack_echo(self):
+        """run VCL IPv4 thru host stack echo test interrupt mode"""
+
+        self.sapi_server_sock = "1"
+        self.sapi_client_sock = "2"
+
+        self.thru_host_stack_test(
+            "vcl_test_server",
+            self.server_args,
+            "vcl_test_client",
+            self.client_echo_test_args,
+        )
+
+
 class VCLThruHostStackTLSInterruptMode(VCLThruHostStackTLS):
     """VCL Thru Host Stack TLS interrupt mode"""