Merge pull request #4432 from consul/knapsack_forks
Avoid timeouts in Knapsack PRO
This commit is contained in:
1
Rakefile
1
Rakefile
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user