зеркало из https://github.com/github/ruby.git
Set RUBY_TEST_TIMEOUT_SCALE=3 for --repeat-count=2 test
With --repeat-count=2, timing-related test seems to fail frequently. I'm not sure of the cause, but I want to reduce the errors by setting RUBY_TEST_TIMEOUT_SCALE.
This commit is contained in:
Родитель
e01e6ce9c8
Коммит
fbe56b1c17
|
@ -102,7 +102,9 @@ jobs:
|
|||
continue-on-error: true
|
||||
|
||||
- name: Set extra test options
|
||||
run: echo "TESTS=$TESTS ${{ matrix.test_opts }}" >> $GITHUB_ENV
|
||||
run: |
|
||||
echo "TESTS=$TESTS ${{ matrix.test_opts }}" >> $GITHUB_ENV
|
||||
echo "RUBY_TEST_TIMEOUT_SCALE=3" >> $GITHUB_ENV # With --repeat-count=2, flaky test by timeout occurs frequently for some reason
|
||||
if: matrix.test_opts
|
||||
|
||||
- name: make ${{ matrix.test_task }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче