ExternalBridge broadcast_notification drops on EAGAIN partial-send

Tests › tests/unit/api/entropic_capi_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/api/entropic_capi_test.cpp:3616 · its file's page

What it checks (5)

  1. REQUIRE(socketpair(AF_UNIX, SOCK_STREAM, 0, sock.data()) == 0) not attributed
  2. REQUIRE(setsockopt(sock[0], SOL_SOCKET, SO_SNDBUF, &small, sizeof(small)) == 0) not attributed
  3. REQUIRE(setsockopt(sock[1], SOL_SOCKET, SO_RCVBUF, &small, sizeof(small)) == 0) not attributed
  4. REQUIRE(bridge.subscriber_count() == 1) observes subscriber_count
  5. CHECK(bridge.subscriber_count() == 0) observes subscriber_count

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

ExternalBridge broadcast_notification drops on EAGAIN partial-send→subscriber_count→REQUIRE→subscribe→broadcast_notification

What 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.

ExternalBridge broadcast_notification drops on EAGAIN partial-send · 5 checkssubscribeREQ-BRIDGE-001 · inferred
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.