Two test names claimed a readiness verdict their bodies no longer assert
A_flush_that_cannot_write_is_counted_and_readiness_names_the_pillar and An_alert_that_never_reached_the_table_is_counted_and_readiness_names_it both end with Assert.Equal(HttpStatusCode.OK, readyz). They were written when a failed reporting write did make the edge unready, and the boundary moved — the enforcement path gates, the reporting path is stated in numbers — but the names stayed where the old rule was. A reader picking one of these up to check "does a lost alert take an edge out of service?" would have got the answer from the name and the opposite answer from the body. Names only; no assertion changed. Re-measured at this commit: unit 128/128, integration 170/170.
This commit is contained in:
@@ -98,7 +98,7 @@ public sealed class WriteFailureVisibilityTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task A_flush_that_cannot_write_is_counted_and_readiness_names_the_pillar()
|
||||
public async Task A_flush_that_cannot_write_is_counted_and_reported_without_gating_readiness()
|
||||
{
|
||||
await using var f = new EdgeFixture();
|
||||
Assert.Equal(HttpStatusCode.OK, (await ReadyzAsync(f)).Status);
|
||||
@@ -154,7 +154,7 @@ public sealed class WriteFailureVisibilityTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task An_alert_that_never_reached_the_table_is_counted_and_readiness_names_it()
|
||||
public async Task An_alert_that_never_reached_the_table_is_counted_without_taking_the_edge_out_of_service()
|
||||
{
|
||||
await using var f = new EdgeFixture();
|
||||
await BlockWrites(f, "edge_alerts");
|
||||
|
||||
Reference in New Issue
Block a user