@@ -107,7 +107,9 @@ title "gix (with repository)"
107107 )
108108 fi
109109
110- (with " git:// protocol"
110+ # for some reason, on CI the daemon always shuts down before we can connect,
111+ # or isn't actually ready despite having accepted the first connection already.
112+ (not_on_ci with " git:// protocol"
111113 launch-git-daemon
112114 (with " version 1"
113115 it " generates the correct output" && {
@@ -249,14 +251,14 @@ title "gix commit-graph"
249251 (with " version 2"
250252 (with " NO output directory"
251253 it " generates the correct output" && {
252- WITH_SNAPSHOT=" $snapshot /file-v-any-no-output" \
254+ WITH_SNAPSHOT=" $snapshot /file-v-any-no-output-p2 " \
253255 expect_run $SUCCESSFULLY " $exe_plumbing " --no-verbose free pack receive -p 2 .git
254256 }
255257 )
256258 (with " output directory"
257259 mkdir out/
258260 it " generates the correct output" && {
259- WITH_SNAPSHOT=" $snapshot /file-v-any-with-output" \
261+ WITH_SNAPSHOT=" $snapshot /file-v-any-with-output-p2 " \
260262 expect_run $SUCCESSFULLY " $exe_plumbing " --no-verbose free pack receive .git out/
261263 }
262264 it " creates an index and a pack in the output directory" && {
@@ -268,7 +270,7 @@ title "gix commit-graph"
268270 if test " $kind " = " max" || test " $kind " = " max-pure" ; then
269271 (with " --format json"
270272 it " generates the correct output in JSON format" && {
271- WITH_SNAPSHOT=" $snapshot /file-v-any-no-output-json" \
273+ WITH_SNAPSHOT=" $snapshot /file-v-any-no-output-json-p2 " \
272274 expect_run $SUCCESSFULLY " $exe_plumbing " --no-verbose --format json free pack receive --protocol 2 .git
273275 }
274276 )
@@ -305,7 +307,7 @@ title "gix commit-graph"
305307 (with " NO output directory"
306308 (with " NO wanted refs"
307309 it " generates the correct output" && {
308- WITH_SNAPSHOT=" $snapshot /file-v-any-no-output" \
310+ WITH_SNAPSHOT=" $snapshot /file-v-any-no-output-p2 " \
309311 expect_run $SUCCESSFULLY " $exe_plumbing " --no-verbose free pack receive -p 2 git://localhost/
310312 }
311313 )
@@ -324,7 +326,7 @@ title "gix commit-graph"
324326 )
325327 (with " output directory"
326328 it " generates the correct output" && {
327- WITH_SNAPSHOT=" $snapshot /file-v-any-with-output" \
329+ WITH_SNAPSHOT=" $snapshot /file-v-any-with-output-p2 " \
328330 expect_run $SUCCESSFULLY " $exe_plumbing " --no-verbose free pack receive git://localhost/ out/
329331 }
330332 )
0 commit comments