Re: [PATCH v2] test-lib: run EXPENSIVE tests one at a time
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 27, 2026, 18:34 UTC
- Message-ID
- <xmqq5wxi9l9f.fsf@gitster.g>
- In-Reply-To
- <d10dd696-789c-4c0c-ab6a-ee71f29ecb92@gmail.com>
Kaartic Sivaraam <kaartic.sivaraam@gmail.com> writes:
> Okay. I'll try to send a v3 with another variant of this which tries to > avoid deadlocks as much as possible by using a different mechanism for > the locking. I suppose we may have to trade-off on the "only one test > runs" guarantee as a consequence.
Yeah, in other words, there is no need for such guarantee. We never deadlock must be a strong guarantee, and it is sufficient if we make sure that most of the time the expensive ones try not to run at the same time.
Thanks.