Skip to content

Commit a561b1a

Browse files
committed
chore: improve proxy test todo content and revert skip removal
1 parent 527bf4c commit a561b1a

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

test/proxy.test.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,19 @@ import https from 'https';
22
import { describe, it, beforeEach, afterEach, expect, vi } from 'vitest';
33
import fs from 'fs';
44

5-
// jescalada: these tests are currently causing the following error
6-
// when running tests in the CI or for the first time locally:
7-
// Error: listen EADDRINUSE: address already in use :::8000
8-
// This is likely due to improper test isolation or cleanup in another test file
9-
// TODO: Find root cause of this error and fix it
10-
describe('Proxy Module TLS Certificate Loading', () => {
5+
/*
6+
jescalada: these tests are currently causing the following error
7+
when running tests in the CI or for the first time locally:
8+
Error: listen EADDRINUSE: address already in use :::8000
9+
10+
This is likely due to improper test isolation or cleanup in another test file
11+
especially related to proxy.start() and proxy.stop() calls
12+
13+
Related: skipped tests in testProxyRoute.test.ts - these have a race condition
14+
where either these or those tests fail depending on execution order
15+
TODO: Find root cause of this error and fix it
16+
*/
17+
describe.skip('Proxy Module TLS Certificate Loading', () => {
1118
let proxyModule: any;
1219
let mockConfig: any;
1320
let mockHttpServer: any;

0 commit comments

Comments
 (0)