spec: bump test-queue
dedicate more cores to background loading on the initial run ... sometimes the workers are so fast they block on it test plan: see previous patchset w/ verbose output where `waiting time:` for all workers was <= 1.3sec Change-Id: I17188a0f5285ac7e8e3f03a0b954b760008246f6 Reviewed-on: https://gerrit.instructure.com/103115 Tested-by: Jenkins Reviewed-by: Landon Wilkins <lwilkins@instructure.com> Product-Review: Landon Wilkins <lwilkins@instructure.com> QA-Review: Landon Wilkins <lwilkins@instructure.com>
This commit is contained in:
parent
65ee8163f9
commit
c1dedb9304
|
@ -38,7 +38,7 @@ group :test do
|
|||
gem 'websocket', '1.2.3', require: false
|
||||
gem 'selinimum', '0.0.1', require: false, path: 'gems/selinimum'
|
||||
gem 'test_after_commit', '1.1.0' if CANVAS_RAILS4_2
|
||||
gem 'test-queue', github: 'jenseng/test-queue', ref: 'e5961d2b70e129d3302c580b1df94efbce6671f6', require: false
|
||||
gem 'test-queue', github: 'jenseng/test-queue', ref: '1b92ebbca70705599c78a1bad5b16d6a37f741f2', require: false
|
||||
gem 'testrailtagging', '0.3.7', require: false
|
||||
|
||||
gem 'webmock', '2.3.2', require: false
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
set -e
|
||||
|
||||
export TEST_QUEUE_REPLACE_STATS=1
|
||||
export TEST_QUEUE_NUM_LAZY_LOADERS=4
|
||||
export ERROR_CONTEXT_BASE_PATH="`pwd`/log/spec_failures/Initial"
|
||||
|
||||
max_failures=${RERUNS:=200}
|
||||
|
@ -93,6 +94,8 @@ while true; do
|
|||
reruns_started=1
|
||||
echo "[rspec-queue:reruns] STARTING"
|
||||
unset TEST_QUEUE_REPLACE_STATS # ensure the rerun stats merge into the main ones
|
||||
# not many files, and we want to maximize cores for actual workers on this node (since we won't relay)
|
||||
export TEST_QUEUE_NUM_LAZY_LOADERS=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue