iroh
iroh copied to clipboard
tests: add tests for DNS-over-HTTPS to iroh-dns-server
Description
Our DoH support in iroh-dns-server is broken: #3737
We didn't have any tests for DoH before.
This adds end-to-end tests that test resolving DoH records via HTTP and HTTPS via reqwest, and via hickory-resolver.
While working on this, I realized that we currently do not change the storage path in tests, which is bad can can lead to very unexpected behavior when running tests concurrently. This also fixes that by allowing to pass in the storage path.
Breaking Changes
Notes & open questions
Change checklist
- [ ] Self-review.
- [ ] Documentation updates following the style guide, if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this breaking change. Give guidance on how the updates should be handled or do the actual updates themselves. The major ones are:
- [ ]
quic-rpc - [ ]
iroh-gossip - [ ]
iroh-blobs - [ ]
dumbpipe - [ ]
sendme
- [ ]