From: Eric Sunshine Date: Sun, 03 Mar 2019 15:00:32 GMT Subject: Re: [PATCH v2 2/2] tests: introduce --stress-jobs= Message-ID: In-Reply-To: <074628c22b2df82280b06db604196f25300e8f87.1551624293.git.gitgitgadget@gmail.com> On Sun, Mar 3, 2019 at 9:45 AM Johannes Schindelin via GitGitGadget wrote: > [...] > Let's introduce a separate option for that, whose name makes it more > obvious what it is about, and let --stress= error out with a helpful > suggestion about the two options tha could possibly have been meant. > > Signed-off-by: Johannes Schindelin > --- > diff --git a/t/README b/t/README > @@ -187,11 +187,10 @@ appropriately before running "make". > variable to "1" or "0", respectively. > > --stress:: > ---stress=:: Shouldn't the "--stress=" line be removed? > Run the test script repeatedly in multiple parallel jobs until > one of them fails. Useful for reproducing rare failures in > flaky tests. The number of parallel jobs is, in order of > - precedence: , or the value of the GIT_TEST_STRESS_LOAD > + precedence: the value of the GIT_TEST_STRESS_LOAD > environment variable, or twice the number of available > processors (as shown by the 'getconf' utility), or 8.