Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

Commit dc48504

Browse files
committed
chore: add a comment to the bitswap stress test
Signed-off-by: ljedrz <ljedrz@gmail.com>
1 parent 0e45c71 commit dc48504

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/bitswap_stress_test.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ fn filter(i: usize) -> bool {
66
i % 2 == 0
77
}
88

9+
// this test is designed to trigger unfavorable conditions for the bitswap
10+
// protocol by putting blocks in every second node and attempting to get
11+
// them from the other nodes; intended to be used for debugging or stress
12+
// testing the bitswap protocol (though it would be advised to uncomment
13+
// the tracing_subscriber for stress-testing purposes)
14+
#[ignore]
915
#[async_std::test]
1016
async fn bitswap_stress_test() {
1117
tracing_subscriber::fmt::init();

0 commit comments

Comments
 (0)