aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-10-11 16:04:21 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-10-11 20:16:28 +0000
commit39c93494829159238250a80b26851f4343cc5004 (patch)
tree0ea768af9ac1e51c61594eba8c91b7bbfbe86eb3 /src
parentd442d10432c0926b7c9bd46746270371027b55c2 (diff)
hsa: vpp_echo refactor quic nclients arg
Type: refactor Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: If8471d98053ae44cae07cdca6d269aa3c7df9887
Diffstat (limited to 'src')
-rw-r--r--src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c3
-rw-r--r--src/plugins/quic/test/test_quic.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c b/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
index 78cedbb2c6f..db777c8178c 100644
--- a/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
+++ b/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
@@ -433,9 +433,8 @@ quic_echo_unformat_setup_vft (unformat_input_t * input, va_list * args)
static int
quic_echo_process_opts_cb (unformat_input_t * a)
{
- echo_main_t *em = &echo_main;
quic_echo_proto_main_t *eqm = &quic_echo_proto_main;
- if (unformat (a, "nclients %d/%d", &em->n_clients, &eqm->n_stream_clients))
+ if (unformat (a, "quic-streams %d", &eqm->n_stream_clients))
;
else if (unformat (a, "quic-setup %U", quic_echo_unformat_setup_vft))
;
diff --git a/src/plugins/quic/test/test_quic.py b/src/plugins/quic/test/test_quic.py
index 79e5dd1f896..2a005369f81 100644
--- a/src/plugins/quic/test/test_quic.py
+++ b/src/plugins/quic/test/test_quic.py
@@ -420,8 +420,8 @@ class QUICEchoExtServerStreamWorkersTestCase(QUICEchoExtTestCase):
@unittest.skipUnless(running_extended_tests, "part of extended tests")
def test_quic_ext_transfer_server_stream_multi_workers(self):
- self.server("nclients", "4/4", "TX=10Mb", "RX=0")
- self.client("nclients", "4/4", "TX=0", "RX=10Mb")
+ self.server("nclients", "4", "quic-streams", "4", "TX=10Mb", "RX=0")
+ self.client("nclients", "4", "quic-streams", "4", "TX=0", "RX=10Mb")
self.validate_ext_test_results()