chore: add a comment to the bitswap stress test

Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
ljedrz 2020-07-31 16:41:59 +02:00
parent 0e45c71c7f
commit dc48504d1c

View File

@ -6,6 +6,12 @@ fn filter(i: usize) -> bool {
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 fn bitswap_stress_test() {
tracing_subscriber::fmt::init();