[PATCH 0/2] t7900: fix flaky "maintenance.strategy" test
Patrick Steinhardt <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I've recently noticed that t7900 is flaky, see for example [1].
The root cause of the flake is the auto-detaching logic of
git-maintenance(1), which sometimes causes us to skip maintenance
altogether when the foreground process is racing with background
maintenance.
Thanks!
Patrick
[1]: https://gitlab.com/gitlab-org/git/-/jobs/15762975482
---
Patrick Steinhardt (2):
t7900: adapt some tests to use a throwaway repository
t7900: fix flaky "maintenance.strategy" test
t/t7900-maintenance.sh | 76 ++++++++++++++++++++++++++++++--------------------
1 file changed, 46 insertions(+), 30 deletions(-)
---
base-commit: 2c78326f810173a4f3aefd8021f1e07575412481
change-id: 20260807-pks-t7900-fix-flaky-test-160abfcef65a