Skip to content

t9300-fast-import: don't hang if background fast-import exits too early

SZEDER Gábor git 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- The first patch is new, and refactors those tests to store the PID of the background 'git fast-import' process in a shell variable instead of in a pidfile.

- The second patch is conceptually the same as the only patch v1, but it has been updated to store the PID of the background subshell in a variable as well.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2t9300-fast-import: store the PID in a variable instead of pidfilet/t9300-fast-import.sh+3 -30 replies
2/2t9300-fast-import: don't hang if background fast-import exits too earlyt/t9300-fast-import.sh+14 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] t9300-fast-import: don't hang if background fast-import exits too early

The five tests checking 'git fast-import's checkpoint handling in 't9300-fast-import.sh', all with the prefix "V:" in their test description, can hang indefinitely if 'git fast-import' unexpectedly dies early in any of these tests.

Changes since v1:

- The first patch is new, and refactors those tests to store the PID of the background 'git fast-import' process in a shell variable instead of in a pidfile.

- The second patch is conceptually the same as the only patch v1, but it has been updated to store the PID of the background subshell in a variable as well.

SZEDER Gábor (2):
t9300-fast-import: store the PID in a variable instead of pidfile
t9300-fast-import: don't hang if background fast-import exits too
early

 t/t9300-fast-import.sh | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
Signature · 1 line
2.24.0.801.g241c134b8d