jerry-git / jerry-git/pytest-split
duration_based_chunks algorithm produces empty groups, causing pytest to fail when collecting tests
オープン
- 主要言語
- Python
- スター
- 325
- フォーク
- 56
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Something in the most recent set of changes has broken something. Previously I have been doing --splits 20 and all of the groups have at least one test. Now, at least the last two groups are empty, which causes pytest to exit with error 5 and github actions to kill all of the tests. Not sure what the precise cause of this is at the moment.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず --splits 20 で失敗を再現し、グループを作成する duration_based_chunks アルゴリズムを調べます。最後のグループが空になる理由を追跡し、その後、空のグループがない状態で pytest collection が成功し、GitHub Actions のテスト実行が error 5 で終了しなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100