diff options
author | Geliang Tang <[email protected]> | 2023-10-25 16:37:03 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-27 08:47:07 -0700 |
commit | 9168ea02b898d3dde98b51e4bd3fb082bd438dab (patch) | |
tree | 8536de32b15f5adf5ea5354fa739fa63686614fd /scripts/generate_rust_analyzer.py | |
parent | f4a75e9d11001481dca005541b6dc861e1472f03 (diff) |
selftests: mptcp: fix wait_rm_addr/sf parameters
The second input parameter of 'wait_rm_addr/sf $1 1' is misused. If it's
1, wait_rm_addr/sf will never break, and will loop ten times, then
'wait_rm_addr/sf' equals to 'sleep 1'. This delay time is too long,
which can sometimes make the tests fail.
A better way to use wait_rm_addr/sf is to use rm_addr/sf_count to obtain
the current value, and then pass into wait_rm_addr/sf.
Fixes: 4369c198e599 ("selftests: mptcp: test userspace pm out of transfer")
Cc: [email protected]
Suggested-by: Matthieu Baerts <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions