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:
Yusuke Endoh 2024-06-20 12:04:59 +09:00
Родитель e01e6ce9c8
Коммит fbe56b1c17
1 изменённых файлов: 3 добавлений и 1 удалений

4
.github/workflows/macos.yml поставляемый
Просмотреть файл

@ -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 }}