From 549719ede6aa788afb43eafe8c6f66b1be431fbb Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 11 Oct 2024 02:09:50 +0200 Subject: [PATCH] fix(test): Increase delay duration before stopping the server in test suite. --- changelog.md | 5 +++++ test/test.ts | 4 ++-- ts/00_commitinfo_data.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 13c22f9..a10d157 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-10-11 - 3.0.33 - fix(test) +Increase delay duration before stopping the server in test suite. + +- Adjusted the delay time from 1000 ms to 10000 ms before stopping the server to ensure tests complete smoothly. + ## 2024-09-06 - 3.0.32 - fix(virtualstream) Fix keep-alive loop handling and test cleanup diff --git a/test/test.ts b/test/test.ts index 22b5513..bfb6c77 100644 --- a/test/test.ts +++ b/test/test.ts @@ -102,9 +102,9 @@ tap.test('should allow VirtualStreams', async () => { }); tap.test('should end the server', async (toolsArg) => { - await toolsArg.delayFor(1000); + await toolsArg.delayFor(10000); await testServer.stop(); - // await tap.stopForcefully(); + await tap.stopForcefully(); }); export default tap.start(); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index c0321fa..7a69e6e 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedrequest', - version: '3.0.32', + version: '3.0.33', description: 'A TypeScript library for making typed requests towards APIs, including facilities for handling requests, routing, and virtual stream handling.' }