diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2022-09-30 12:29:05 +0200 |
---|---|---|
committer | Luca Muscariello <muscariello@ieee.org> | 2022-10-14 20:16:51 +0200 |
commit | 1831c27adeb851b7b28e57342f4893a1d3b7dce2 (patch) | |
tree | eca95910dacefb9adf4787b3a3deaf6c3b87821c /tests | |
parent | df127bdc840c94aec7c9db1d4a90981f9780aa88 (diff) |
refactor(hicn-light): cleanup towards optimizations to UDP socket face
Change-Id: If5bc3c4dfcdde386ac02674f3c03d32d495b2231
Ticket: HICN-771
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/config.sh | 6 | ||||
-rw-r--r-- | tests/resources/libraries/robot/runtest.robot | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/config.sh b/tests/config.sh index 0665a5a8a..7e52901c7 100755 --- a/tests/config.sh +++ b/tests/config.sh @@ -79,13 +79,13 @@ declare -A tests=( ["vpp-memif-replication-rtc"]="${HIPERF_CMD_MEMIF_RTC} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["hicn-light-requin"]="${HIPERF_CMD_RAAQM} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" - ["hicn-light-requin-new-paket-format"]="${HIPERF_CMD_RAAQM_NEW} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" + ["hicn-light-requin-new-packet-format"]="${HIPERF_CMD_RAAQM_NEW} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["vpp-bridge-requin"]="${HIPERF_CMD_MEMIF_RAAQM} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["vpp-memif-requin"]="${HIPERF_CMD_MEMIF_RAAQM} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["vpp-memif-replication-requin"]="${HIPERF_CMD_MEMIF_RAAQM} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["hicn-light-cbr"]="${HIPERF_CMD_CBR} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" - ["hicn-light-cbr-new-paket-format"]="${HIPERF_CMD_CBR_NEW} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" + ["hicn-light-cbr-new-packet-format"]="${HIPERF_CMD_CBR_NEW} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["vpp-bridge-cbr"]="${HIPERF_CMD_MEMIF_CBR} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["vpp-memif-cbr"]="${HIPERF_CMD_MEMIF_CBR} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" ["vpp-memif-replication-cbr"]="${HIPERF_CMD_MEMIF_CBR} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_RAAQM_RTC}" @@ -94,7 +94,7 @@ declare -A tests=( ["vpp-bridge-latency"]="${PING_CMD_MEMIF} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_PING}" ["vpp-memif-latency"]="${PING_CMD_MEMIF} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_PING}" ["vpp-memif-replication-latency"]="${PING_CMD_MEMIF} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_PING}" - ["hicn-light-latency-new-paket-format"]="${PING_CMD_NEW} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_PING}" + ["hicn-light-latency-new-packet-format"]="${PING_CMD_NEW} 2>&1 | tee >(>&2 cat) | ${POSTPROCESS_COMMAND_PING}" ) declare -A link_model=( diff --git a/tests/resources/libraries/robot/runtest.robot b/tests/resources/libraries/robot/runtest.robot index e6309a9ed..5ce4787f6 100644 --- a/tests/resources/libraries/robot/runtest.robot +++ b/tests/resources/libraries/robot/runtest.robot @@ -48,7 +48,7 @@ Run Test Should Be True ... ${min_max_avg}[2] >= ${EXPECTED_AVG} ... msg="Avg does not match (${min_max_avg}[2] < ${EXPECTED_AVG})" - ELSE IF '${TESTID}' == 'requin-new-paket-format' + ELSE IF '${TESTID}' == 'requin-new-packet-format' Should Be True ... ${min_max_avg}[0] >= ${EXPECTED_MIN} ... msg="Min does not match (${min_max_avg}[0] < ${EXPECTED_MIN})" @@ -68,7 +68,7 @@ Run Test Should Be True ... ${min_max_avg}[2] <= ${EXPECTED_AVG} ... msg="Avg does not match (${min_max_avg}[2] > ${EXPECTED_AVG})" - ELSE IF '${TESTID}' == 'latency-new-paket-format' + ELSE IF '${TESTID}' == 'latency-new-packet-format' Should Be True ... ${min_max_avg}[0] <= ${EXPECTED_MIN} ... msg="Min does not match (${min_max_avg}[0] > ${EXPECTED_MIN})" @@ -88,7 +88,7 @@ Run Test Should Be True ... ${min_max_avg}[2] >= ${EXPECTED_AVG} ... msg="Avg does not match (${min_max_avg}[2] < ${EXPECTED_AVG})" - ELSE IF '${TESTID}' == 'cbr-new-paket-format' + ELSE IF '${TESTID}' == 'cbr-new-packet-format' Should Be True ... ${min_max_avg}[0] >= ${EXPECTED_MIN} ... msg="Min does not match (${min_max_avg}[0] < ${EXPECTED_MIN})" @@ -193,7 +193,7 @@ Run Throughput Test Raaqm New Packet Format Run Test ... ${TEST_TOPOLOGY} ... ${TEST_SETUP} - ... requin-new-paket-format + ... requin-new-packet-format ... ${EXPECTED_MIN} ... ${EXPECTED_MAX} ... ${EXPECTED_AVG} @@ -239,7 +239,7 @@ Run Throughput Test CBR New Packet Format Run Test ... ${TEST_TOPOLOGY} ... ${TEST_SETUP} - ... cbr-new-paket-format + ... cbr-new-packet-format ... ${EXPECTED_MIN} ... ${EXPECTED_MAX} ... ${EXPECTED_AVG} @@ -287,7 +287,7 @@ Run Latency Test New Packet Format Run Test ... ${TEST_TOPOLOGY} ... ${TEST_SETUP} - ... latency-new-paket-format + ... latency-new-packet-format ... ${EXPECTED_MIN} ... ${EXPECTED_MAX} ... ${EXPECTED_AVG} |