diff options
author | Boris Sukholitko <boris.sukholitko@broadcom.com> | 2023-05-04 11:48:14 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-05-10 09:31:07 +0200 |
commit | 90ab51226d52ad61e5ff175b572e08046b1b0a99 (patch) | |
tree | 8524c4ec4c72798ea25dd1c4126bd8ef05bb7249 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1114803c2da974526ecbc0bd81e6c637bf257de5 (diff) |
selftests: nft_flowtable.sh: monitor result file sizes
When running nft_flowtable.sh in VM on a busy server we've found that
the time of the netcat file transfers vary wildly.
Therefore replace hardcoded 3 second sleep with the loop checking for
a change in the file sizes. Once no change in detected we test the results.
Nice side effect is that we shave 1 second sleep in the fast case
(hard-coded 3 second sleep vs two 1 second sleeps).
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Boris Sukholitko <boris.sukholitko@broadcom.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions