Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3b77ab3
Peers tests.
mskrzypkows Apr 30, 2026
3ec934f
missing check for the relay tests
mskrzypkows May 4, 2026
9cc4e75
Fixed passing address and keeping a node alive after tests finish
mskrzypkows May 4, 2026
759fea9
Merge branch 'main' of github.com:NethermindEth/pluto into peers_test
mskrzypkows May 4, 2026
4178e7b
fmt
mskrzypkows May 4, 2026
2c9d525
clippy
mskrzypkows May 4, 2026
6dc4452
review correctoins
mskrzypkows May 5, 2026
d5c0c62
split run into few functions
mskrzypkows May 5, 2026
792f08c
Update peers.rs
mskrzypkows May 5, 2026
ead428f
default relay urls printed in command help
mskrzypkows May 5, 2026
a8e935c
fetch_enrs_from_definition
mskrzypkows May 5, 2026
1034701
unit tests for peers tests with definition file
mskrzypkows May 5, 2026
56a719e
updated arguments descriptions to match charon
mskrzypkows May 6, 2026
7336d94
Missing p2p parameters
mskrzypkows May 6, 2026
41ee558
clippy
mskrzypkows May 6, 2026
394b6a2
default empty string values changed to Options
mskrzypkows May 6, 2026
9bdc399
better agruments passing to the setup_p2p function
mskrzypkows May 6, 2026
dbaa28e
Improved error returning
mskrzypkows May 6, 2026
037381f
test fixed
mskrzypkows May 6, 2026
2ea81f0
parallelize relay tests
mskrzypkows May 6, 2026
17bc1b1
restrict format_enr to accept ASCII only input
mskrzypkows May 6, 2026
e50a9ec
async calls in libp2p_tcp_port_open_test
mskrzypkows May 6, 2026
d0c45f3
some error logs
mskrzypkows May 6, 2026
249af84
Using last ping RTT for Ping Measure to reduce impact of cold start
mskrzypkows May 6, 2026
b7a971c
Merge branch 'main' of github.com:NethermindEth/pluto into peers_test
mskrzypkows May 6, 2026
fc8f53b
Merge branch 'main' of github.com:NethermindEth/pluto into peers_test
mskrzypkows May 7, 2026
6a29916
Merge branch 'main' of github.com:NethermindEth/pluto into peers_test
mskrzypkows May 7, 2026
4c3f96f
review comments
mskrzypkows May 7, 2026
fceb3b4
to_string calling once
mskrzypkows May 7, 2026
190edc6
const
mskrzypkows May 7, 2026
f105e43
filter_private_addrs false as Charon has
mskrzypkows May 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ chrono.workspace = true
sysinfo.workspace = true
quick-xml.workspace = true
futures.workspace = true
sha2.workspace = true

[dev-dependencies]
tempfile.workspace = true
test-case.workspace = true
backon.workspace = true
wiremock.workspace = true
pluto-cluster = { workspace = true, features = ["test-cluster"] }

[lints]
workspace = true
18 changes: 15 additions & 3 deletions crates/cli/src/commands/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,21 @@ fn list_test_cases(category: TestCategory) -> Vec<String> {
]
}
TestCategory::Peers => {
// TODO: Extract from peers::supported_peer_test_cases() +
// supported_self_test_cases()
vec![]
let mut cases: Vec<String> = peers::supported_peer_test_cases()
.into_iter()
.map(|tc| tc.name.to_string())
.collect();
cases.extend(
peers::supported_self_test_cases()
.into_iter()
.map(|tc| tc.name.to_string()),
);
cases.extend(
peers::supported_relay_test_cases()
.into_iter()
.map(|tc| tc.name.to_string()),
);
cases
}
TestCategory::Infra => infra::supported_infra_test_cases()
.into_iter()
Expand Down
Loading
Loading