[bug] Fix tests timeout

This commit is contained in:
Pavel Ostrovskij
2025-04-21 17:49:25 +03:00
parent acb520cc79
commit d46166ac61

View File

@ -786,7 +786,7 @@ describe('HTTP Request Unit Tests', () => {
} finally { } finally {
await new Promise(resolve => testServer.close(resolve)); await new Promise(resolve => testServer.close(resolve));
} }
}); }, 30000);
test('disables keep-alive when forever is false', async () => { test('disables keep-alive when forever is false', async () => {
const mockCtx = createMockContext({ const mockCtx = createMockContext({
@ -1312,7 +1312,7 @@ describe('HTTP Request Unit Tests', () => {
} finally { } finally {
await new Promise(resolve => testServer.close(resolve)); await new Promise(resolve => testServer.close(resolve));
} }
}); }, 30000);
test('successfully routes POST request through a real proxy', async () => { test('successfully routes POST request through a real proxy', async () => {
try { try {