You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The capability-gate connect-path tests for the five Managed*State managers assert that listX is not called on a connect against a capability-less server by yielding two microtasks and then checking:
This works for the current shape of refresh() (one async hop before the listX call), but it asserts the gate only indirectly: if refresh ever grows a third async hop before the list RPC, the test could pass for the wrong reason (the flush races ahead of the call rather than the gate suppressing it).
Scope
Replace the fixed double-flush with a vi.waitFor(...) assertion in the "connect against an X-less server doesn't fire listX" test for all five managers, keeping them uniform:
Activity
test(state): fail fast with a readable message if a connect refresh n…
Test/1396 harden managed state connect tests (#1508)