mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
arrow-cpp: retry failed tests twice
If upstream believes it's an acceptable mitigation for flakiness, we should follow their lead.
This commit is contained in:
@@ -329,7 +329,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
''
|
||||
runHook preInstallCheck
|
||||
|
||||
ctest -L unittest --exclude-regex '^(${lib.concatStringsSep "|" disabledTests})$'
|
||||
ctestArgs=(
|
||||
-L unittest
|
||||
--exclude-regex '^(${lib.concatStringsSep "|" disabledTests})$'
|
||||
)
|
||||
|
||||
# Match ci/scripts/cpp_test.sh to fight flakiness.
|
||||
# https://github.com/apache/arrow/issues/40121
|
||||
ctestArgs+=(--repeat until-pass:3)
|
||||
|
||||
ctest "''${ctestArgs[@]}"
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user