Commit 070d6da
selftests: mptcp: stop tests earlier
These 'endpoint' tests from 'mptcp_join.sh' selftest start a transfer in
the background and check the status during this transfer.
Once the expected events have been recorded, there is no reason to wait
for the data transfer to finish. It can be stopped earlier to reduce the
execution time by more than half.
For these tests, the exchanged data were not verified. Errors, if any,
were ignored but that's fine, plenty of other tests are looking at that.
It is then OK to mute stderr now that we are sure errors will be printed
(and still ignored) because the transfer is stopped before the end.
Fixes: e274f71 ("selftests: mptcp: add subflow limits test-cases")
Cc: [email protected]
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent a635a8c commit 070d6da
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
501 | 507 | | |
502 | 508 | | |
503 | 509 | | |
| |||
3055 | 3061 | | |
3056 | 3062 | | |
3057 | 3063 | | |
3058 | | - | |
| 3064 | + | |
3059 | 3065 | | |
3060 | 3066 | | |
3061 | 3067 | | |
| |||
3068 | 3074 | | |
3069 | 3075 | | |
3070 | 3076 | | |
3071 | | - | |
| 3077 | + | |
3072 | 3078 | | |
3073 | 3079 | | |
3074 | 3080 | | |
3075 | 3081 | | |
3076 | 3082 | | |
3077 | 3083 | | |
3078 | | - | |
| 3084 | + | |
3079 | 3085 | | |
3080 | 3086 | | |
3081 | 3087 | | |
| |||
3085 | 3091 | | |
3086 | 3092 | | |
3087 | 3093 | | |
3088 | | - | |
| 3094 | + | |
3089 | 3095 | | |
3090 | 3096 | | |
3091 | 3097 | | |
| |||
0 commit comments