mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 06:12:10 +03:00
PR #3907 lowered the test assertions for fetchKeepAliveTimeoutMs from 4000 to 1000 expecting DEFAULT_FETCH_KEEPALIVE_TIMEOUT_MS to drop to 1000, but the source change was reverted on review (kept at 4000, with keepAliveMaxTimeout pinning instead). The test was left asserting 1000, turning the unit suite red release-wide. Align the assertions back to the shipped source value (4000).
This commit is contained in:
committed by
GitHub
parent
e697538beb
commit
a03426d5ca
@@ -17,7 +17,7 @@ test("upstream timeout config derives hidden fetch timeouts from FETCH_TIMEOUT_M
|
||||
fetchHeadersTimeoutMs: 600000,
|
||||
fetchBodyTimeoutMs: 600000,
|
||||
fetchConnectTimeoutMs: 30000,
|
||||
fetchKeepAliveTimeoutMs: 1000,
|
||||
fetchKeepAliveTimeoutMs: 4000,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -54,7 +54,7 @@ test("upstream timeout config honors explicit overrides and falls back on invali
|
||||
assert.equal(config.fetchHeadersTimeoutMs, 610000);
|
||||
assert.equal(config.fetchBodyTimeoutMs, 0);
|
||||
assert.equal(config.fetchConnectTimeoutMs, 45000);
|
||||
assert.equal(config.fetchKeepAliveTimeoutMs, 1000);
|
||||
assert.equal(config.fetchKeepAliveTimeoutMs, 4000);
|
||||
});
|
||||
|
||||
test("TLS client timeout defaults to FETCH_TIMEOUT_MS and can be overridden", () => {
|
||||
|
||||
Reference in New Issue
Block a user