Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2026 16:31:36 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        Olivier Cochard <olivier@freebsd.org>,  src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: c5961b6fcfe0 - main - yes: fix argv test race between fork and exec
Message-ID:  <865x5vextj.fsf@ltc.des.dev>
In-Reply-To: <advNQ8tG3ijzM8ls@cell.glebi.us> (Gleb Smirnoff's message of "Sun, 12 Apr 2026 09:50:11 -0700")
References:  <69d3ebe6.1f204.7943777e@gitrepo.freebsd.org> <advNQ8tG3ijzM8ls@cell.glebi.us>

index | next in thread | previous in thread | raw e-mail

Gleb Smirnoff <glebius@freebsd.org> writes:
> This kind of fix doesn't make it 100% flakyless, but adds a 100% guaranteed 0.1
> second test execution time overhead.  In general, all sh(1) based tests that
> create a background process should have a wait cycle with `sleep 0.01` in it.

“Le mieux est l'ennemi du bien“.  This works well enough, and if you're
worried about CI runtimes I suggest you look into parallelizing kyua
instead.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?865x5vextj.fsf>