Repository navigation
tests: ph_convoy_test gets its own ctest timeout, as ocean_ewave_test has - #1300
Merged
Merged
Conversation
… has PhConvoy.TheCompositeIsTheFormationItStandsFor and PhConvoy.FollowLawsOnTheStepAndTheStop take ~95 s each in a Debug build on a usual runner. A PR's Debug ctest gives a test without a TIMEOUT of its own 300 s (ci.yml), and on a slow runner both timed out at 300 s: #1288's run 43780432462, whose test phase took 95 min against 39 min on a usual one. #1261 gave ocean_ewave_test TIMEOUT 1200 for the same reason; this gives ph_convoy_test the same budget, so a slow box fails on a real hang only. No test code changes.
transfix
enabled auto-merge (squash)
November 16, 2026 06:48
#1265 added cvc_discover_tests(ph_microgrid_test) beside ph_convoy_test's line; both stay.
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ph_convoy_test's tests now get a 1200 s ctest timeout, the same asocean_ewave_test's. This is one CMake line plus a comment, and no test code changes.Why
Two tests came with #1227,
PhConvoy.TheCompositeIsTheFormationItStandsForandPhConvoy.FollowLawsOnTheStepAndTheStop. Each takes about 95 s in a Debug build on a usual runner. A PR's Debug ctest runs with--timeout 300(ci.yml), so any test without a TIMEOUT of its own gets 300 s, and a slow runner misses that.That is what happened on #1288's
package-linux / libcvc-debug(run 43780432462, job 133016147336):PhConvoy.AFlowInputOnALinkCreepsUnderTheSplitStepPhConvoy.TheCompositeIsTheFormationItStandsForPhConvoy.FollowLawsOnTheStepAndTheStopThe small test ran about 4.4x slower on that runner, so the two big ones would have needed about 420 s. #1261 fixed the same problem for
ocean_ewave_testwithPROPERTIES TIMEOUT 1200. This PR givesph_convoy_testthe same budget, so a slow runner fails only on a real hang.Testing
I built a small CMake project that uses this branch's lines verbatim: the
cvc_discover_testsfunction and the two discovery lines forph_convoy_testand its unchanged neighbourph_compose_parity_test. I compiled both targets against googletest and ranctest -V --timeout 300, as ci.yml does:ph_convoy_testtests:Test timeout computed to be: 1200;ph_compose_parity_testtests:Test timeout computed to be: 300.So the property overrides ci.yml's default only for this target. I didn't build the full libcvc tree locally, so the real PhConvoy run is this PR's CI.