Commit 4a0c881
authored
tests(iroh-net): expose
## Description
* Add a `test-utils` feature to `iroh-net`. If enabled, expose the
`test_utils` crate with `fn run_relay_server` publicly.
* Add option to `iroh_net::MagicEndpointBuilder` to skip relay server
SSL certificate verification. The option is behind a `#[cfg(any(test,
feature = "test-utils"))]`
* Add the same option to `iroh::NodeBuilder`, behind the same `cfg`
option
* Add a test to `iroh` which uses `run_relay_server` and then downloads
a blob by connecting to a node with only node id and relay URL (no
direct addresses)
## Change checklist
- [x] Self-review.
- [x] Documentation updates if relevant.
- [x] Tests if relevant.run_relay_server and option to skip cert verification to tests (#2145)1 parent cf7ea5c commit 4a0c881
1 file changed
+1
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments