Merge pull request #4432 from consul/knapsack_forks

Avoid timeouts in Knapsack PRO
This commit is contained in:
Javi Martín
2021-03-22 19:23:53 +01:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -4,7 +4,6 @@
require File.expand_path("../config/application", __FILE__)
Rails.application.load_tasks if Rake::Task.tasks.empty?
KnapsackPro.load_tasks if defined?(KnapsackPro)
if Rails.env.development?
require "github_changelog_generator/task"

View File

@@ -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