342a825d69
v2-ci / unit-tests (push) Has been cancelled
A_queued_write_older_than_the_budget_is_failed_BadTimeout_instead_of_written_late failed hosted runs 2215 (7ec5b95d) and 2260 (8ef5adc6) at "(await inFlight).Success should be True but was False", after 7 s each time. It is not load: it fails on an idle machine with AKKA_TEST_TIMEFACTOR=3, the value v2-ci sets, and passes with 1. Akka's AwaitCondition with no interval polls every max/10 of the dilated budget: PresenceBudget 15 s x 3 = 45 s, so a 4.5 s sleep after a first poll that runs before the pool has entered the write. The held write is bounded by DriverInstanceActor.RunWriteAsync's fixed, undilated 5 s CancellationTokenSource, so 4.5 s of polling plus the test's 600 ms settle cancelled it ("write timeout") before ReleaseWrites(). The sibling tests that hold a write took 7 s for the same reason and passed only by margin. All eight AwaitCondition calls in the class now go through AwaitWritesEntered, which polls every 20 ms. The budget (PresenceBudget) and every assertion are unchanged. Local, AKKA_TEST_TIMEFACTOR=3: before 6/7 (this test failing, 7 s); after 7/7 in three runs, test 3 s. Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV