v2.14.0: turns queue per session, not across the whole bridge¶
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:1242 · its file's page
What it checks (6)
REQUIRE(bridge.begin_turn_wait(5000, &waited, "alpha"))observesbegin_turn_waitCHECK(got)observesbegin_turn_waitviagotCHECK(w < 150)not attributedCHECK_FALSE(got)observesbegin_turn_waitviagotCHECK_FALSE(bridge.turn_in_flight())observesturn_in_flightCHECK(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
v2.14.0: turns queue per session, not across the whole bridge→REQUIRE→begin_turn_wait→WHEN→end_turn_wait→turn_in_flight→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