Open yutotnh opened 1 year ago
Google Testのデフォルトの20秒でタイムアウトしているが、他のPASSしたテスト(build-and-test (windows-latest)) だと、1秒で終わっていたりするので、ソースコードがなにかおかしいのかもしれなく、単純にタイムアウトの時間を延ばすだけではだめかもしれない
Sat, 28 Jan 2023 13:46:40 GMT
LINK : warning LNK4044: unrecognized option '/-coverage'; ignored [D:\a\spirit\spirit\build\tests\integration_test.vcxproj]
Sat, 28 Jan 2023 13:46:41 GMT
integration_test.vcxproj -> D:\a\spirit\spirit\build\tests\Debug\integration_test.exe
Sat, 28 Jan 2023 13:46:43 GMT
Building Custom Rule D:/a/spirit/spirit/tests/CMakeLists.txt
最近はフェイルしなくなりましたので、Closeします
久しぶりに現象がでました。 一応改めてopenします
https://github.com/yutotnh/spirit/actions/runs/5785020803/job/15676857951?pr=262
バグの説明
build-and-test (windows-latest) のように、間欠でフェイルすることがある
ローカルでctestを実施した時は起こらないが、GitHub Actionsでたまに起こる
対策は
set_tests_properties(my_test PROPERTIES TIMEOUT 30)
のようにすればよいらしい?再現手順
期待した動作
環境
その他