Commit 04b57c9
selftests: mptcp: join: stop transfer when check is done (part 2)
Since the "Fixes" commits mentioned below, the newly added "userspace
pm" subtests of mptcp_join selftests are launching the whole transfer in
the background, do the required checks, then wait for the end of
transfer.
There is no need to wait longer, especially because the checks at the
end of the transfer are ignored (which is fine). This saves quite a few
seconds on slow environments.
While at it, use 'mptcp_lib_kill_wait()' helper everywhere, instead of
on a specific one with 'kill_tests_wait()'.
Fixes: b2e2248 ("selftests: mptcp: userspace pm create id 0 subflow")
Fixes: e3b47e4 ("selftests: mptcp: userspace pm remove initial subflow")
Fixes: b9fb176 ("selftests: mptcp: userspace pm send RM_ADDR for ID 0")
Cc: stable@vger.kernel.org
Reviewed-and-tested-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240131-upstream-net-20240131-mptcp-ci-issues-v1-9-4c1c11e571ff@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 31ee4ad commit 04b57c9
1 file changed
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | 646 | | |
654 | 647 | | |
655 | 648 | | |
| |||
3494 | 3487 | | |
3495 | 3488 | | |
3496 | 3489 | | |
3497 | | - | |
| 3490 | + | |
3498 | 3491 | | |
3499 | 3492 | | |
3500 | 3493 | | |
| |||
3518 | 3511 | | |
3519 | 3512 | | |
3520 | 3513 | | |
3521 | | - | |
| 3514 | + | |
3522 | 3515 | | |
3523 | 3516 | | |
3524 | 3517 | | |
| |||
3544 | 3537 | | |
3545 | 3538 | | |
3546 | 3539 | | |
3547 | | - | |
| 3540 | + | |
3548 | 3541 | | |
3549 | 3542 | | |
3550 | 3543 | | |
| |||
3558 | 3551 | | |
3559 | 3552 | | |
3560 | 3553 | | |
3561 | | - | |
| 3554 | + | |
| 3555 | + | |
3562 | 3556 | | |
3563 | 3557 | | |
3564 | 3558 | | |
| |||
3573 | 3567 | | |
3574 | 3568 | | |
3575 | 3569 | | |
3576 | | - | |
| 3570 | + | |
3577 | 3571 | | |
3578 | 3572 | | |
3579 | 3573 | | |
| |||
3582 | 3576 | | |
3583 | 3577 | | |
3584 | 3578 | | |
3585 | | - | |
| 3579 | + | |
| 3580 | + | |
3586 | 3581 | | |
3587 | 3582 | | |
3588 | 3583 | | |
| |||
3597 | 3592 | | |
3598 | 3593 | | |
3599 | 3594 | | |
3600 | | - | |
| 3595 | + | |
3601 | 3596 | | |
3602 | 3597 | | |
3603 | 3598 | | |
| |||
0 commit comments