boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
199 stars 161 forks source link

CI: Limit single test execution time to 30 seconds #242

Closed Kojoley closed 5 years ago

Kojoley commented 5 years ago

It should help identify hanging tests that push CI over build time limit.

Kojoley commented 5 years ago

The timeouts on travis could be avoided either by fixing execution_monitor (like this b5743ca4d1746a60a7c4b43d6cff118b4f2f5201) or by increasing timeout, the choice is yours.

viboes commented 5 years ago

IIUC the -l30, this will just prevent from spending the maximum time allowed, and limit each test to 30s, isn't it?

Kojoley commented 5 years ago

Yes, it is. Did I worded the title badly? As you can see, Appveyor did not hit the hour limit with this and you can find which tests hang (or too slow).