refactor(health.akka): review polish (internal decision helper, role guard, factory results, test coverage) + fix SPEC §4 gate description
This commit is contained in:
@@ -23,6 +23,7 @@ public sealed class AkkaClusterStatusPolicyTests
|
||||
new object[] { MemberStatus.WeaklyUp, HealthStatus.Unhealthy },
|
||||
new object[] { MemberStatus.Down, HealthStatus.Unhealthy },
|
||||
new object[] { MemberStatus.Removed, HealthStatus.Unhealthy },
|
||||
new object[] { (MemberStatus)99, HealthStatus.Unhealthy }, // unknown / future status
|
||||
};
|
||||
|
||||
[Theory]
|
||||
@@ -41,6 +42,7 @@ public sealed class AkkaClusterStatusPolicyTests
|
||||
new object[] { MemberStatus.WeaklyUp, HealthStatus.Degraded },
|
||||
new object[] { MemberStatus.Down, HealthStatus.Degraded },
|
||||
new object[] { MemberStatus.Removed, HealthStatus.Degraded },
|
||||
new object[] { (MemberStatus)99, HealthStatus.Degraded }, // unknown / future status
|
||||
};
|
||||
|
||||
[Theory]
|
||||
|
||||
Reference in New Issue
Block a user