Flaky test: DeploySiteAsync_UnreachableSite_ReconcilesOnceThenSkipsTheRestOfTheBatch #92
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?
DeploymentManager.TestsDeploySiteAsyncTests.DeploySiteAsync_UnreachableSite_ReconcilesOnceThenSkipsTheRestOfTheBatchis intermittent: it failed once during an unrelated mutation run (#90) and once in a full-project run after rebasing #89/#90/#47, then passed 3/3 re-runs both times. Find the timing dependency and make it deterministic.Fixed on main
bec07378: the test capped the serial prepare phase at 2 s wall clock with a 300 ms reconcile deadline — under a loaded full-project run six instances took 2.6 s, and the 300 ms deadline (which also covers repo reads + the Ask) could expire before the query was sent. Reconcile deadline now 2 s and the elapsed bound is derived from it (prepare < (6−1)×2 s; without the breaker it would be ≥ 6×2 s); the structuralqueryCount == 1assertion stays. Evidence: full DeploymentManager.Tests under 2×ncpu busy loops — 5/10 failed before, 0/12 after; post-rebase full project passed.