Skip to content

Commit

Permalink
Merge pull request fedimint#5106 from dpc/24-04-25-ci-fix-load
Browse files Browse the repository at this point in the history
chore(ci): fix `--load` on `parallel` it doesn't mean percents
  • Loading branch information
dpc authored Apr 25, 2024
2 parents ce7e300 + 8012515 commit 5806983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/tests/test-ci-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ fi

parallel_args+=(--timeout "${FM_TEST_CI_ALL_TIMEOUT:-600}")

parallel_args+=(--load "${FM_TEST_CI_ALL_MAX_LOAD:-1000}")
parallel_args+=(--load "${FM_TEST_CI_ALL_MAX_LOAD:-$(($(nproc) / 4 + 1))}")
# --delay to let nix start extracting and bump the load
parallel_args+=(--delay "${FM_TEST_CI_ALL_DELAY:-$((64 / $(nproc) + 1))}")

Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/upgrade-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [ -z "${CI:-}" ] && [[ -t 1 ]] && [ -z "${FM_TEST_CI_ALL_DISABLE_ETA:-}" ]; t
parallel_args+=(--eta)
fi
parallel_args+=(--jobs "${FM_TEST_CI_ALL_JOBS:-$(($(nproc) / 4 + 1))}")
parallel_args+=(--load "${FM_TEST_CI_ALL_MAX_LOAD:-1000}")
parallel_args+=(--load "${FM_TEST_CI_ALL_MAX_LOAD:-$(($(nproc) / 4 + 1))}")
parallel_args+=(--delay "${FM_TEST_CI_ALL_DELAY:-$((64 / $(nproc) + 1))}")
parallel_args+=(
--halt-on-error 1
Expand Down

0 comments on commit 5806983

Please sign in to comment.