aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2021-10-29 16:55:59 -0700
committerDavid S. Miller <[email protected]>2021-11-01 13:19:49 +0000
commitb6ab64b074f29b42ff272793806efc913f7cc742 (patch)
tree53a30c8b92996cda2fbd6843b9e3e29bfd85c0ad /drivers/usb/cdns3/cdns3-imx.c
parent7c909a98042ce403c8497c5d6ff94dd53bdd2131 (diff)
selftests: mptcp: more stable simult_flows tests
Currently the simult_flows.sh self-tests are not very stable, especially when running on slow VMs. The tests measure runtime for transfers on multiple subflows and check that the time is near the theoretical maximum. The current test infra introduces a bit of jitter in test runtime, due to multiple explicit delays. Additionally the runtime is measured by the shell script wrapper. On a slow VM, the script overhead is measurable and subject to relevant jitter. One solution to make the test more stable would be adding more slack to the expected time; that could possibly hide real regressions. Instead move the measurement inside the command doing the transfer, and drop most unneeded sleeps. Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions