-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(iroh-relay, netcheck): move tests to use local relays (#2935)
## Description Removes `netcheck`'s dependency on staging relays, using locally served ones instead. This is necessary to move netcheck out without needing to find an appropriate place for the staging values to prevent circular dependecies ## Breaking Changes - `RelayMap` now can be created with an iterator of `Arc`s directly. ## Notes & open questions - a test was removed since it doesn't test properties of netcheck, it just connects to the staging relay - `iroh-relay/src/server/testing.rs` was added by mistake in the split pr, so the deletions are not really picked by rust and all new code should be considered.. well, new. ## Change checklist - [x] Self-review. - [ ] ~~Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.~~ - [ ] ~~Tests if relevant.~~ - [ ] ~~All breaking changes documented.~~
- Loading branch information
1 parent
fbcb056
commit 8edaee9
Showing
7 changed files
with
178 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.