Skip to content

Commit

Permalink
Avoid timeouts in knapsack PRO
Browse files Browse the repository at this point in the history
The way it's recommended since knapsack_pro version 2.3.0 [1]

[1] https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md#230
  • Loading branch information
javierm committed Mar 20, 2021
1 parent bb75c03 commit b6bcd4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/knapsack_pro_rspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
if [ "$KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC" = "" ]; then
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=disabled-for-fork \
KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
bundle exec rake knapsack_pro:rspec # use Regular Mode here always
else
# Queue Mode - dynamic tests allocation across CI nodes
Expand Down

0 comments on commit b6bcd4a

Please sign in to comment.