gh#144: a caller that gives up does not stall the line¶
Tests › tests/unit/mcp/external_bridge_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/mcp/external_bridge_test.cpp:1110 · its file's page
What it checks (5)
REQUIRE(bridge.begin_turn_wait(5000, &waited))observesbegin_turn_waitCHECK_FALSE(got_it)observesbegin_turn_waitviagot_itCHECK(gave_up_after >= 40)not attributedCHECK(bridge.begin_turn_wait(5000, &w))observesbegin_turn_waitCHECK(bridge.turn_queue_depth() == 0)observesturn_queue_depth
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
gh#144: a caller that gives up does not stall the line→REQUIRE→begin_turn_wait→WHEN→end_turn_wait→turn_queue_depthWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-API-012 inferred
- REQ-BRIDGE-001 inferred