feat(smart-proxy): add socket-handler relay, fast-path port-only forwarding, metrics and bridge improvements, and various TS/Rust integration fixes
This commit is contained in:
@@ -94,7 +94,7 @@ tap.test('setup port proxy test environment', async () => {
|
||||
tap.test('should start port proxy', async () => {
|
||||
await smartProxy.start();
|
||||
// Check if the proxy is listening by verifying the ports are active
|
||||
expect(smartProxy.getListeningPorts().length).toBeGreaterThan(0);
|
||||
expect((await smartProxy.getListeningPorts()).length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
// Test basic TCP forwarding.
|
||||
@@ -237,7 +237,7 @@ tap.test('should handle connection timeouts', async () => {
|
||||
tap.test('should stop port proxy', async () => {
|
||||
await smartProxy.stop();
|
||||
// Verify that there are no listening ports after stopping
|
||||
expect(smartProxy.getListeningPorts().length).toEqual(0);
|
||||
expect((await smartProxy.getListeningPorts()).length).toEqual(0);
|
||||
|
||||
// Remove from tracking
|
||||
const index = allProxies.indexOf(smartProxy);
|
||||
|
||||
Reference in New Issue
Block a user