summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-05-20 15:57:28 -0400
committerOle Trøan <otroan@employees.org>2019-05-22 12:56:36 +0000
commit1f37a7bd86bb027abf50a3e7a907e1d4d8ad9999 (patch)
tree07b5e15b07580b1aa70b592678d8ff523c216c01 /test
parent04d26ee2a97364d84135101b13711d2ce02631a8 (diff)
make test: Fix QUIC External apps transfer test
Change-Id: Idc4cd1d3b29d4656f2df998162e6f99116518a58 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_quic.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/test_quic.py b/test/test_quic.py
index 0cb49cf8358..21f2fd73091 100644
--- a/test/test_quic.py
+++ b/test/test_quic.py
@@ -157,7 +157,7 @@ class QUICTestCase(VppTestCase):
raise
if error:
raise Exception(
- "Timeout! Client worker did not finish in %ss" % timeout)
+ "Timeout! Client worker did not finish in %ss" % self.timeout)
self.assert_equal(self.worker_client.result, 0,
"Binary test return code")
@@ -266,6 +266,11 @@ class QUICExternalEchoIPv4TestCase(QUICTestCase):
""" QUIC External Echo IPv4 Transfer Test Cases """
@classmethod
+ def setUpConstants(cls):
+ super(QUICExternalEchoIPv4TestCase, cls).setUpConstants()
+ cls.vpp_cmdline.extend(["session", "{", "evt_qs_memfd_seg", "}"])
+
+ @classmethod
def setUpClass(cls):
super(QUICExternalEchoIPv4TestCase, cls).setUpClass()
@@ -289,10 +294,11 @@ class QUICExternalEchoIPv4TestCase(QUICTestCase):
""" QUIC external echo client/server transfer """
self.external_ipv4_transfer_test(self.server_echo_test_args +
- ["socket-name", self.api_sock],
+ ["socket-name", self.api_sock,
+ "server"],
self.client_echo_test_args +
["socket-name", self.api_sock,
- "mbytes", "10"])
+ "client", "mbytes", "10"])
if __name__ == '__main__':