Skip to content

Commit

Permalink
Run run-asyncio.py 10 times
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Jan 2, 2025
1 parent ef66cc2 commit e4c345c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,18 @@ jobs:
for file in ../../example/python/run{,-asyncio}.py; do
poetry run python "$file" ../test_util/data/model/sample.vvm --dict-dir ../test_util/data/open_jtalk_dic_utf_8-1.11
done
# https://github.com/VOICEVOX/voicevox_core/issues/873 が再発しないかの確認。
#
# Python 3.8においては、プロセスの終了までにFatal Python errorに至らなくても`StopIteration`までは達することが多い。
# #873の要因は依然として不明であるが、`StopIteration`が出ないことの確認をもって#873の解決とすることにする。
#
# TODO: 10回の実行におよそ60秒ほどかかるため、状況の経過を見てやめる。
for _ in {1..10}; do
poetry run python ../../example/python/run-asyncio.py ../test_util/data/model/sample.vvm --dict-dir ../test_util/data/open_jtalk_dic_utf_8-1.11 \
2> >(tee ./stderr.txt >&2)
# shellcheck disable=SC2059
! grep -q StopIteration ./stderr.txt
done
build-and-test-java-api:
strategy:
fail-fast: false
Expand Down

0 comments on commit e4c345c

Please sign in to comment.