Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Flaky hrtime.phpt test

オープン 初心者向け
#22,508 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
php
領域
testing-qa

調査の方向性

ext/standard/tests/hrtime/hrtime.phpt から始め、hrtime() と microtime() の比較で使用されている 0.05 の厳しい上限を調べます。報告された packaging 環境でこのテストを繰り返し実行し、間欠的な失敗なしに時間比較の意味が保たれれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Bug Category: Tests Status: Verified
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

主要言語
C
スター
40.4k
フォーク
8.2k
平均マージ
2日 17時間
マージ済み PR(30日)
115

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

php/php-src のほかの issue

php/php-src の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。