From f4929587923277d46e1584e16d506a6623b7b19d Mon Sep 17 00:00:00 2001 From: ArturT Date: Tue, 15 Aug 2017 15:20:17 +0200 Subject: [PATCH] Update link to fallback mode explanation --- lib/knapsack_pro/allocator.rb | 2 +- lib/knapsack_pro/queue_allocator.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/knapsack_pro/allocator.rb b/lib/knapsack_pro/allocator.rb index 460ad56b..9c8d0e5c 100644 --- a/lib/knapsack_pro/allocator.rb +++ b/lib/knapsack_pro/allocator.rb @@ -14,7 +14,7 @@ def test_file_paths raise ArgumentError.new(response) if connection.errors? prepare_test_files(response) else - KnapsackPro.logger.warn("Fallback mode started. We could not connect with Knapsack Pro API. Your tests will be executed based on directory names. Read more about fallback mode at https://github.com/KnapsackPro/knapsack_pro-ruby") + KnapsackPro.logger.warn("Fallback mode started. We could not connect with Knapsack Pro API. Your tests will be executed based on directory names. Read more about fallback mode at https://github.com/KnapsackPro/knapsack_pro-ruby#what-happens-when-knapsack-pro-api-is-not-availablenot-reachable-temporarily") fallback_test_files end end diff --git a/lib/knapsack_pro/queue_allocator.rb b/lib/knapsack_pro/queue_allocator.rb index 9ea4e1f2..b0c717e2 100644 --- a/lib/knapsack_pro/queue_allocator.rb +++ b/lib/knapsack_pro/queue_allocator.rb @@ -18,7 +18,7 @@ def test_file_paths(can_initialize_queue, executed_test_files) prepare_test_files(response) else @fallback_activated = true - KnapsackPro.logger.warn("Fallback mode started. We could not connect with Knapsack Pro API. Your tests will be executed based on directory names. If other CI nodes were able to connect with Knapsack Pro API then you may notice that some of the test files will be executed twice across CI nodes. The most important thing is to guarantee each of test files is run at least once! Read more about fallback mode at https://github.com/KnapsackPro/knapsack_pro-ruby") + KnapsackPro.logger.warn("Fallback mode started. We could not connect with Knapsack Pro API. Your tests will be executed based on directory names. If other CI nodes were able to connect with Knapsack Pro API then you may notice that some of the test files will be executed twice across CI nodes. The most important thing is to guarantee each of test files is run at least once! Read more about fallback mode at https://github.com/KnapsackPro/knapsack_pro-ruby#what-happens-when-knapsack-pro-api-is-not-availablenot-reachable-temporarily") fallback_test_files(executed_test_files) end end