This commit is contained in:
2025-05-26 14:50:55 +00:00
parent 20583beb35
commit a3721f7a74
22 changed files with 2820 additions and 8112 deletions

View File

@ -385,4 +385,33 @@ tap.start();
- SmtpClient uses connection pooling by default
- Test servers may not receive all messages immediately
- Messages might be queued and sent through different connections
- Adjust test expectations to account for pooling behavior
- Adjust test expectations to account for pooling behavior
## Test Fixing Progress (2025-05-26 Afternoon)
### Summary
- Total failing tests initially: 34
- Tests fixed: 28
- Tests remaining: 6
### Remaining Tests to Fix:
1. test.ccm-05.connection-reuse.ts - SMTP client connection
2. test.cperf-05.network-efficiency.ts - SMTP client performance
3. test.cperf-06.caching-strategies.ts - SMTP client performance
4. test.cperf-07.queue-management.ts - SMTP client performance
5. test.cperf-08.dns-caching.ts - SMTP client performance
6. test.crel-07.resource-cleanup.ts - SMTP client reliability
### Fixed Tests (28):
- **Edge Cases (1)**: test.cedge-03.protocol-violations.ts ✓
- **Error Handling (4)**: cerr-03, cerr-05, cerr-06 ✓
- **Reliability (6)**: crel-01 through crel-06 ✓
- **RFC Compliance (7)**: crfc-02 through crfc-08 ✓
- **Security (10)**: csec-01 through csec-10 ✓
### Important Notes:
- Error logs are deleted after tests are fixed (per original instruction)
- Tests taking >1 minute usually indicate hanging issues
- Property names: use 'host' not 'hostname' for SmtpClient options
- Always use helpers: createTestSmtpClient, createTestServer
- Always add tap.start() at the end of test files