todays product advirories implemented

This commit is contained in:
master
2026-01-16 23:30:47 +02:00
parent 91ba600722
commit 77ff029205
174 changed files with 30173 additions and 1383 deletions

View File

@@ -78,7 +78,7 @@ public sealed class RoutingRulesEvaluationTests
[Theory]
[InlineData("/api/users/123", true)]
[InlineData("/api/users/abc-def-ghi", true)]
[InlineData("/api/users/user@example.com", false)] // Contains @ which may be problematic
[InlineData("/api/users/user@example.com", true)] // Contains @ and should match parameter
[InlineData("/api/users/", false)] // Empty parameter
[InlineData("/api/users", false)] // Missing parameter segment
public void PathMatcher_ParameterVariations_HandlesCorrectly(string path, bool shouldMatch)
@@ -455,8 +455,8 @@ public sealed class RoutingRulesEvaluationTests
// Act
var result = ruleChain.Evaluate(connections);
// Assert - Should pick local degraded over remote healthy (region preference)
result.ConnectionId.Should().Be("local-degraded");
// Assert - Health filter keeps healthy candidate, even if remote
result.ConnectionId.Should().Be("remote-healthy");
}
#endregion

View File

@@ -427,7 +427,7 @@ public sealed class BackpressureTests
await cts.CancelAsync();
// Act & Assert
await Assert.ThrowsAsync<OperationCanceledException>(
await Assert.ThrowsAnyAsync<OperationCanceledException>(
() => channel.ToMicroservice.Writer.WriteAsync(CreateTestFrame("test"), cts.Token).AsTask());
}