mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-17 04:12:17 +03:00
test(resilience): list credentialHealthCheck in the configuration-only key set
#12043 added credentialHealthCheck.intervalMinutes to DEFAULT_RESILIENCE_SETTINGS and to the /api/resilience GET projection. It is operator configuration (the background sweep cadence), not runtime breaker state, but the exact key-set assertion was never updated, so resilience-http-e2e failed on the release tip. The providerBreakers/runtime absence checks stay as they were. Refs #12732
This commit is contained in:
@@ -0,0 +1 @@
|
||||
- **test(resilience):** the `/api/resilience` configuration-only key-set assertion now lists `credentialHealthCheck`, the sweep-interval setting #12043 added to the projection, so the integration suite stops reading a documented configuration key as leaked runtime state ([#12732](https://github.com/diegosouzapw/OmniRoute/issues/12732))
|
||||
@@ -557,10 +557,12 @@ test("resilience API only exposes configuration, not runtime breaker state", asy
|
||||
assert.equal(response.status, 200);
|
||||
// Exact key set — this is the whole point of the test: configuration only.
|
||||
// `providerQuotaOverrides` joined the projection in #9871;
|
||||
// `quotaPreflight` joined in #12014 (Settings → Routing Quota Preflight card).
|
||||
// `quotaPreflight` joined in #12014 (Settings → Routing Quota Preflight card);
|
||||
// `credentialHealthCheck` joined in #12043 (the sweep's intervalMinutes setting).
|
||||
assert.deepEqual(Object.keys(json).sort(), [
|
||||
"comboCooldownWait",
|
||||
"connectionCooldown",
|
||||
"credentialHealthCheck",
|
||||
"legacy",
|
||||
"providerBreaker",
|
||||
"providerCooldown",
|
||||
|
||||
Reference in New Issue
Block a user