fix(tests): Adjust test cases for ACME challenge route handling, mutex locking in route updates, and port management. Remove obsolete challenge-route lifecycle tests and update expected outcomes in port80 management and race condition tests.

This commit is contained in:
2025-05-19 03:42:47 +00:00
parent 26529baef2
commit 0faca5e256
5 changed files with 196 additions and 756 deletions

View File

@ -1,5 +1,14 @@
# Changelog
## 2025-05-19 - 19.2.6 - fix(tests)
Adjust test cases for ACME challenge route handling, mutex locking in route updates, and port management. Remove obsolete challenge-route lifecycle tests and update expected outcomes in port80 management and race condition tests.
- Remove test file 'test.challenge-route-lifecycle.node.ts'
- Rename 'acme-route' to 'secure-route' in port80 management tests to avoid confusion
- Ensure port 80 is added only once when both user routes and ACME challenge use the same port
- Improve mutex locking tests to guarantee serialized route updates with no concurrent execution
- Adjust expected certificate manager recreation counts in race conditions tests
## 2025-05-19 - 19.2.5 - fix(acme)
Fix port 80 ACME management and challenge route concurrency issues by deduplicating port listeners, preserving challenge route state across certificate manager recreations, and adding mutex locks to route updates.