-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description This pull request implements the following features: - [x] Add RPC listens on address test - [x] Add Websocket listens on address test - [x] Add libp2p generates peer ID test - [x] Add libp2p known peers connect test - [x] Add libp2p peers connect after mDNS discovery test - [x] Add `console_subscriber_port` setting - [x] Update swarm event logs so `peer_id` is always the first label (we test logs assuming so) - [x] Update logs for swarm peer connection closed event to debug and move `peer_id` to a label - [x] Add `kill_homestar` function (to abstract out some repeated code) - [x] Turn off tokio console when running tests - [x] Reorganize integration test fixture ports into a sparse sequence across fixtures (gives us room to add tests, but keeps them somewhat in order). ## Link to issue Implements #131 Solving for - [X] Test MDNS dialing - [X] Test Node Dialing ## Type of change - [x] New feature (non-breaking change that adds functionality) - [x] Refactor (non-breaking change that updates existing functionality) ## Test plan (required) We are adding a test to check on existing functionality.
- Loading branch information
Showing
24 changed files
with
432 additions
and
127 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[monitoring] | ||
process_collector_interval = 5000 | ||
metrics_port = 4000 | ||
console_subscriber_port = 5555 | ||
|
||
[node] |
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
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.