Open6

stestrを使ったテストでLength too longエラーが出る

Junpei KawamotoJunpei Kawamoto

個別のテストが失敗しているわけでも無いのに、

Length too long: 25727093

というエラーが出て完走しない。

Junpei KawamotoJunpei Kawamoto

ドキュメントのAdjusting test run outputに、

However, the test run output is configurable, you can disable this output with the --no-subunit-trace flag which will be completely silent except for any failures it encounters.

とあるので試してみたがエラーは消えず。

同じく、

In the default subunit-trace output any captured output to stdout and stderr is printed after test execution, for both successful and failed tests. However, in some cases printing these attachments on a successful tests is not the preferred behavior. You can use the --suppress-attachments flag to disable printing stdout or stderr attachments for successful tests.

とあるので試してみたが効果なし。

Junpei KawamotoJunpei Kawamoto

標準出力・標準エラー出力の表示に関する問題ではなく、収集時に許容サイズを超えていることが問題のような気がする。