summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/test
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-10-30 16:58:30 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-11-01 14:52:38 +0000
commitf9d784b6b9d3acf141ccccf3faf51f409f405294 (patch)
tree4ea3c9b7d9583ca4810c207672e09b251ccade06 /src/plugins/quic/test
parent3edd1bbe6a03e939eeb3eabbce0d4bda995c7ec1 (diff)
quic: fifo size is u32
- Fix cli / config fifo size to only accept u32 size input. - Make cli / config fifo-size input type handling to be the same as vpp hoststack - Update external transfer tests to use new syntax with different fifo sizes for vpp_echo client/server and vpp. Type: fix Change-Id: Ia5ddb2b8d3d9908ab502352819eebeec8ac0971d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/plugins/quic/test')
-rw-r--r--src/plugins/quic/test/test_quic.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/quic/test/test_quic.py b/src/plugins/quic/test/test_quic.py
index 48ef55f4157..13c6a9ae56e 100644
--- a/src/plugins/quic/test/test_quic.py
+++ b/src/plugins/quic/test/test_quic.py
@@ -200,16 +200,14 @@ class QUICEchoExtTestCase(QUICTestCase):
"uri",
self.uri,
"json",
- "fifo-size", "64",
self.test_bytes,
"socket-name", self.api_sock,
"quic-setup", self.quic_setup]
self.server_echo_test_args = common_args + \
- ["server", "appns", "server"]
+ ["server", "appns", "server"] # use default fifo-size
self.client_echo_test_args = common_args + \
- ["client", "appns", "client"]
- error = self.vapi.cli(
- "quic set fifo-size 4Mb")
+ ["client", "appns", "client", "fifo-size", "4M"]
+ error = self.vapi.cli("quic set fifo-size 2M")
if error:
self.logger.critical(error)
self.assertNotIn("failed", error)
@@ -373,7 +371,6 @@ class QUICEchoExtServerStreamTestCase(QUICEchoExtTestCase):
"""QUIC Echo External Transfer Server Stream Test Case"""
quic_setup = "serverstream"
- @unittest.skipUnless(running_extended_tests, "part of extended tests")
def test_quic_ext_transfer_server_stream(self):
self.server("TX=10Mb", "RX=0")
self.client("TX=0", "RX=10Mb")