Skip to content

Commit 7d68184

Browse files
committed
Update knapsack_pro_queue_rspec_split_by_test_examples_spec_opts
Ensure a new queue is generated so that the split by examples is triggered (dry-run report is generated). KNAPSACK_PRO_FIXED_QUEUE_SPLIT=false is needed since change in KnapsackPro/knapsack_pro-ruby#292 because if the queue is already initialized then dry-run is not run on a CI node
1 parent d3d81b2 commit 7d68184

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/knapsack_pro_queue_rspec_split_by_test_examples_spec_opts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ CI_BUILD_ID=$(openssl rand -base64 32)
44

55
#export KNAPSACK_PRO_LOG_LEVEL=warn
66

7+
# ensure a new queue is generated so that the split by examples is triggered (dry-run report is generated)
8+
export KNAPSACK_PRO_FIXED_QUEUE_SPLIT=false
9+
710
# uncomment to run all tests split by examples
811
#export KNAPSACK_PRO_SLOW_TEST_FILE_PATTERN="spec/**{,/*/**}/*_spec.rb"
912
export KNAPSACK_PRO_SLOW_TEST_FILE_PATTERN="spec/controllers/**{,/*/**}/*_spec.rb"

0 commit comments

Comments
 (0)