Flaky hrtime.phpt test
オープン
初心者向け
まだ誰も着手していません。
Bug
Category: Tests
Status: Verified
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.1k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
I've never seen this happening, but earlier today I had a number of failures on the ext/standard/tests/hrtime/hrtime.phpt test while doing test runs for the 8.6.0alpha1 packaging.
TEST 1/1 [ext/standard/tests/hrtime/hrtime.phpt]
========DIFF========
001- OK, %f
001+ FAIL, 0.050114826176838
========DONE========
FAIL Test hrtime() aligns with microtime() [ext/standard/tests/hrtime/hrtime.phpt]
Perhaps it could be worth increasing the 0.05 hard limit that is set in the test?
PHP Version
master
Operating System
Ubuntu 26.04
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ext/standard/tests/hrtime/hrtime.phpt から始め、hrtime() と microtime() の比較で使用されている 0.05 の厳しい上限を調べます。報告された packaging 環境でこのテストを繰り返し実行し、間欠的な失敗なしに時間比較の意味が保たれれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 68/100