Re: [PATCH v2] test-lib: run EXPENSIVE tests one at a time
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 25, 2026, 20:21 UTC
- Message-ID
- <xmqq8q2g1x21.fsf@gitster.g>
- In-Reply-To
- <781ae43f-7831-4aa7-a7a0-aee069950eac@gmail.com>
Kaartic Sivaraam <kaartic.sivaraam@gmail.com> writes:
Show 10 quoted lines
> That's a good catch. I suppose setting the have_expensive_lock_ variable > before writing the pid to the file, the issue should be sufficiently > averted. That's because release_expensive_lock_ would proceed with > removal of the directory even if we fail to write the pid file. > ... > I'm not sure if we need to go down the rabbit hold of fixing those too > without actually facing those issues. I suppose it may be better to get > the jobs running with a version of the patch that includes the above > changes and look into further changes as we notice any more issues. I > would love to hear your thoughts.
If we open ourselves to a possible deadlock, then it will be a serious regression. If our locking is leaky or buggy and allows multiple processes to run simultaneously, that is the same as the status quo, so as long as we kill the deadlock this proposed version introduces in the updated version, I will be happy.
Thanks.