Skip to content

Commit

Permalink
Update link to fallback mode explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturT committed Aug 15, 2017
1 parent 86479a7 commit f492958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/knapsack_pro/allocator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/knapsack_pro/queue_allocator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f492958

Please sign in to comment.