Test failed on Tests_Image_Editor_Imagick::test_resizes_are_small_for_16bit_images
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- php
- 領域
- testing-qa
調査の方向性
まず php test.php を実行し、787 行目付近の tests/phpunit/tests/image/editorImagick.php を調べてください。そこでは Tests_Image_Editor_Imagick::test_resizes_are_small_for_16bit_images が cloudflare-status データセットに対して失敗します。テストの動作を WordPress のコミット 082f6e6f3bb0716969414d47b9fe71251b984ccb と比較してください。サポート対象の PHP および ImageMagick のバージョンで失敗しているテストが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Test is failing
There was 1 failure:
1) Tests_Image_Editor_Imagick::test_resizes_are_small_for_16bit_images with data set "cloudflare-status" ('/tmp/wp-test-runner/tests/php...us.png')
The resized image file size is not smaller than the original file size.
Failed asserting that 26899 is less than 24940.
/tmp/wp-test-runner/tests/phpunit/tests/image/editorImagick.php:787
/tmp/wp-test-runner/vendor/phpunit/phpunit/phpunit:107
FAILURES!
Tests: 24868, Assertions: 89135, Failures: 1, Warnings: 86, Skipped: 15.
Error: Failed to perform operation.
To Reproduce
Steps to reproduce the behavior:
- Run
php test.php - Tested on PHP 8.2, and PHP 8.1 with ImageMagick 7 and 6
Expected behavior
Test to pass
Screenshots
Additional context
This probably happened after the WordPress update on: https://github.com/WordPress/wordpress-develop/commit/082f6e6f3bb0716969414d47b9fe71251b984ccb
- 主要言語
- PHP
- スター
- 77
- フォーク
- 83
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WordPress/phpunit-test-runner のほかの issue
-
A failed results upload passes silently対応中かも @ekamran が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
WordPress/phpunit-test-runner#378 ·
-
test-reporter-request
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
WordPress/phpunit-test-runner#373 ·
-
WPT_CERTIFICATE_VALIDATION is still documented but no script reads it対応中かも @ediamin が 17 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
WordPress/phpunit-test-runner#363 ·
-
report.php cannot parse a junit.xml larger than about 12.5 MB対応中かも @ekamran が今日担当しました。 オープン
WordPress/phpunit-test-runner#376 · 担当者 1 名 ·
-
Node v 26対応中かも @gohelkunjan が 2 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
WordPress/phpunit-test-runner#374 ·
WordPress/phpunit-test-runner の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
mollie/WooCommerce#1346 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area: ui bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nplhse/collaborative-ivena-statistics#1977 ·
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 2 日以内に返信
-
Перевод устарел
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信