Flaky test: AbLegacy NativePcccBridgeStatusHealthTests.A_wire_Unsupported_reply_is_an_answered_refusal #767
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AbLegacyNativePcccBridgeStatusHealthTests.A_wire_Unsupported_reply_is_an_answered_refusalis flaky: it fails 1–2 of 6 local runs at master5db01053(before any #725 change) and 2 of 3 on the #725 branch. Seen while verifying #725; the file was not touched. Diagnose the timing dependency and make it deterministic.Fixed on master
c29f98ff: clock-equality race in the test — InitializeAsync stamps LastSuccessfulRead = DateTime.UtcNow and ReadAsync stamps again microseconds later, so the two can be equal andShouldNotBe(before)fails with correct product code (also hit the positive-control case). New WaitUntilClockPast(before) spin before the read; assertions unchanged. Evidence: NativePcccBridgeStatusHealthTests class ~7/20 passing before, 30/30 after (Release, --no-build). Product-side follow-up (route AbLegacy health stamps through the injectable Clock) filed separately.