aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/HoststackUtil.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2023-01-31 20:14:03 -0500
committerPeter Mikus <peter.mikus@protonmail.ch>2023-02-02 12:25:51 +0000
commitdb9dd3777b7c89f772f1b17c6d10bbd88fcd19bd (patch)
tree582f75d456f8f3d7b80d32a689429b0de5a9a8b8 /resources/libraries/python/HoststackUtil.py
parentdaef4436405383b520ac0760dba4916a063cd2ee (diff)
fix(perf/hoststack/quic): enable plugin_crypto_openssl.so
- convert hoststack tests to use app-api-socket instead of vpp-api-socket Change-Id: Ibcd87f3624e33168ed3afcb30267262efc927e7c Signed-off-by: Dave Wallace <dwallacelf@gmail.com> (cherry picked from commit 61dae95975d881bc3f9cef16f1aee47f649374d8) (cherry picked from commit 2e4982841af54ea2e0367af6b28a4551db821b7f)
Diffstat (limited to 'resources/libraries/python/HoststackUtil.py')
-rw-r--r--resources/libraries/python/HoststackUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/HoststackUtil.py b/resources/libraries/python/HoststackUtil.py
index 2c9c080b69..234a3ebc69 100644
--- a/resources/libraries/python/HoststackUtil.py
+++ b/resources/libraries/python/HoststackUtil.py
@@ -44,7 +44,7 @@ class HoststackUtil():
vpp_echo_cmd = {}
vpp_echo_cmd[u"name"] = u"vpp_echo"
vpp_echo_cmd[u"args"] = f"{vpp_echo_attributes[u'role']} " \
- f"socket-name {vpp_echo_attributes[u'vpp_api_socket']} " \
+ f"socket-name {vpp_echo_attributes[u'app_api_socket']} " \
f"{vpp_echo_attributes[u'json_output']} " \
f"uri {proto}://{addr}/{port} " \
f"nthreads {vpp_echo_attributes[u'nthreads']} " \
@@ -435,7 +435,7 @@ class HoststackUtil():
program_json = json.loads(json_results)
export_hoststack_results(
bandwidth=program_json["rx_bits_per_second"],
- duration=program_json["time"]
+ duration=float(program_json["time"])
)
else:
test_results += u"Invalid test data output!\n" + program_stdout