[Bug 289630] libexec/rc/rc_subr_test:wait_for_pids_progress test fails intermittently in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Sep 2025 12:59:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289630

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=5953e7c98427e038500221e885dffa181dcc064b

commit 5953e7c98427e038500221e885dffa181dcc064b
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-09-23 12:55:56 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-09-23 12:55:56 +0000

    rc.subr: Move the sleep in wait_for_pids

    Instead of sleeping while constructing the list of PIDs to wait for,
    sleep briefly after pwait to give init a chance to reap the processes
    that just terminated before we loop around and start probing them.

    PR:             289630
    Reviewed by:    allanjude
    Differential Revision:  https://reviews.freebsd.org/D52619

 libexec/rc/rc.subr | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.