This commit is contained in:
2025-05-23 21:20:39 +00:00
parent 9629329bc2
commit 0907949f8a
86 changed files with 654 additions and 569 deletions

View File

@ -1,6 +1,6 @@
import { tap, expect } from '@git.zone/tstest/tapbundle';
import * as net from 'net';
import { startTestServer, stopTestServer, type ITestServer } from '../server.loader.js';
import { startTestServer, stopTestServer, type ITestServer } from '../../helpers/server.loader.js';
const TEST_PORT = 2525;
const TEST_TIMEOUT = 60000; // Longer timeout for keepalive tests
@ -211,7 +211,7 @@ tap.test('Keepalive - should detect connection loss', async (tools) => {
await new Promise(resolve => setTimeout(resolve, 10000));
// Connection should be detected as lost
expect(connectionLost).toBeTrue();
expect(connectionLost).toEqual(true);
console.log('Keepalive detected connection loss');
} finally {