Skip to content

Fixups for git-maintenance(1) tests

Patrick Steinhardt git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3t7900: fix flaky test due to leaking background jobt/t7900-maintenance.sh+7 -24 replies
2/3t7900: exercise detaching via trace2 regionsbuiltin/gc.c t/t7900-maintenance.sh+10 -65 replies
3/3builtin/maintenance: fix loose objects task emitting pack hashbuiltin/gc.c t/t7900-maintenance.sh+22 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fixups for git-maintenance(1) tests

Hi,

this small patch series fixes up the test flakes and issues on Windows as reported by Peff:

- We now wait for git-maintenance(1) to run to completion.

- Instead of checking for the detach logic via the output, we now have a new trace2 region that allows us to check whether the detaching logic was executed.

- Fix another bug that caused the "loose-objects" task to emit the packfile hash. This is a preexisting issue, but Peff made me have a deeper look at it.

Patrick

Patrick Steinhardt (3):
t7900: fix flaky test due to leaking background job
t7900: exercise detaching via trace2 regions builtin/maintenance: fix loose objects task emitting pack hash

 builtin/gc.c           | 11 ++++++++++-
 t/t7900-maintenance.sh | 28 +++++++++++++++++++++++++---
 2 files changed, 35 insertions(+), 4 deletions(-)

base-commit: 98077d06b28b97d508c389886ee5014056707a5e

Signature · 1 line
2.46.0.164.g477ce5ccd6.dirty