From 17b764ec296015d81d772c23935b9b1f9395d422 Mon Sep 17 00:00:00 2001 From: openwaf-agent Date: Fri, 2 Oct 2026 12:50:16 +0200 Subject: [PATCH] Two test names claimed a readiness verdict their bodies no longer assert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .../OpenWaf.Tests.Integration/WriteFailureVisibilityTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet/OpenWaf.Tests.Integration/WriteFailureVisibilityTests.cs b/dotnet/OpenWaf.Tests.Integration/WriteFailureVisibilityTests.cs index b4873a2..ea31122 100644 --- a/dotnet/OpenWaf.Tests.Integration/WriteFailureVisibilityTests.cs +++ b/dotnet/OpenWaf.Tests.Integration/WriteFailureVisibilityTests.cs @@ -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");