chore: add a comment to the bitswap stress test
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
0e45c71c7f
commit
dc48504d1c
@ -6,6 +6,12 @@ fn filter(i: usize) -> bool {
|
|||||||
i % 2 == 0
|
i % 2 == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this test is designed to trigger unfavorable conditions for the bitswap
|
||||||
|
// protocol by putting blocks in every second node and attempting to get
|
||||||
|
// them from the other nodes; intended to be used for debugging or stress
|
||||||
|
// testing the bitswap protocol (though it would be advised to uncomment
|
||||||
|
// the tracing_subscriber for stress-testing purposes)
|
||||||
|
#[ignore]
|
||||||
#[async_std::test]
|
#[async_std::test]
|
||||||
async fn bitswap_stress_test() {
|
async fn bitswap_stress_test() {
|
||||||
tracing_subscriber::fmt::init();
|
tracing_subscriber::fmt::init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user