connection-deadlock, socket: improve socket end conditions

This commit is contained in:
Rajeh Taher
2026-01-18 17:15:38 +02:00
parent db86cdc545
commit 282f065f53
2 changed files with 13 additions and 12 deletions
@@ -48,7 +48,7 @@ describe('Connection Deadlock Test', () => {
})
)
sock.end(new Error('Test completed'))
await sock.end(new Error('Test completed'))
await clear()
})
})