fix(dns-client): Improve test assertions for DNS record queries and correct counter increment logic in DNS client

This commit is contained in:
2025-05-27 12:15:17 +00:00
parent 34cc8dd073
commit 5bc376c8ba
4 changed files with 37 additions and 31 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-05-27 - 7.0.2 - fix(dns-client)
Improve test assertions for DNS record queries and correct counter increment logic in DNS client
- Updated test cases in test/test.client.ts to use dynamic assertions with 'google.com' instead of fixed values
- Adjusted checkUntilAvailable tests to verify proper behavior when DNS TXT record is missing
- Fixed counter increment in ts_client/classes.dnsclient.ts to avoid post-increment issues, ensuring proper retry delays
## 2025-05-27 - 7.0.1 - fix(test & plugins)
Rename test client variable and export smartrequest in client plugins