We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build-and-test (windows-latest) のように、間欠でフェイルすることがある
ローカルでctestを実施した時は起こらないが、GitHub Actionsでたまに起こる
Thu, 09 Mar 2023 16:16:17 GMT LINK : warning LNK4044: unrecognized option '/-coverage'; ignored [D:\a\spirit\spirit\build\tests\integration_test.vcxproj] Thu, 09 Mar 2023 16:16:31 GMT integration_test.vcxproj -> D:\a\spirit\spirit\build\tests\Debug\integration_test.exe Thu, 09 Mar 2023 16:16:37 GMT CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/GoogleTestAddTests.cmake:112 (message): Thu, 09 Mar 2023 16:16:37 GMT Error running test executable. Thu, 09 Mar 2023 16:16:37 GMT Thu, 09 Mar 2023 16:16:37 GMT Path: 'D:/a/spirit/spirit/build/tests/Debug/integration_test.exe' Thu, 09 Mar 2023 16:16:37 GMT Result: Process terminated due to timeout Thu, 09 Mar 2023 16:16:37 GMT Output: Thu, 09 Mar 2023 16:16:37 GMT Thu, 09 Mar 2023 16:16:37 GMT Thu, 09 Mar [202](https://github.com/yutotnh/spirit/actions/runs/4376455520/jobs/7658592081#step:3:203)3 16:16:37 GMT Call Stack (most recent call first): Thu, 09 Mar 2023 16:16:37 GMT C:/Program Files/CMake/share/cmake-3.25/Modules/GoogleTestAddTests.cmake:225 (gtest_discover_tests_impl)
対策は set_tests_properties(my_test PROPERTIES TIMEOUT 30)のようにすればよいらしい?
set_tests_properties(my_test PROPERTIES TIMEOUT 30)
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
最近はフェイルしなくなりましたので、Closeします
久しぶりに現象がでました。 一応改めてopenします
https://github.com/yutotnh/spirit/actions/runs/5785020803/job/15676857951?pr=262
yutotnh
No branches or pull requests
バグの説明
build-and-test (windows-latest) のように、間欠でフェイルすることがある
ローカルでctestを実施した時は起こらないが、GitHub Actionsでたまに起こる
対策は
set_tests_properties(my_test PROPERTIES TIMEOUT 30)
のようにすればよいらしい?再現手順
期待した動作
環境
その他
The text was updated successfully, but these errors were encountered: