ec-cube icon indicating copy to clipboard operation
ec-cube copied to clipboard

UnitTest の testDownloadWithPreviousInputSuccess がよく落ちる問題の改善

Open okazy opened this issue 4 years ago • 0 comments

概要(Overview)

以下の UnitTest がよく落ちます。 体感としては2~30%くらいで落ちる。

  1. Eccube\Tests\Web\Admin\Order\OrderPdfControllerTest::testDownloadWithPreviousInputSuccess
1) Eccube\Tests\Web\Admin\Order\OrderPdfControllerTest::testDownloadWithPreviousInputSuccess Failed asserting that '\n
\n
\n
\n
\n
\n

納品書を出力

\n
\n \n
\n
\n \n \n
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
メッセージ
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
備考
\n
\n \n \n
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n ' contains "Consequuntur nemo est ducimus.".

/home/runner/work/ec-cube/ec-cube/tests/Eccube/Tests/Web/Admin/Order/OrderPdfControllerTest.php:335

期待する内容(Expect) or 要望 (Requirement)

必ず通るか、必ず落ちるようにしたい。

再現手順(Procedure)

GitHub Actions で UnitTest を実行

環境 (environment)

  • EC-CUBE: 4.0.5

関連情報 (Ref)

okazy avatar Oct 12 '20 00:10 okazy