Skip to content
Snippets Groups Projects
Commit 7c89f288 authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

Fix flaky reputation change test (#7550)


* Fix flaky reputation change test

* Remove fixme

Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>
parent ee54e62c
Branches
No related merge requests found
......@@ -428,8 +428,6 @@ fn receive_duplicate_messages() {
}
#[test]
// FIXME <https://github.com/paritytech/polkadot/issues/7407>
#[cfg(feature = "enable-flaky")]
fn delay_reputation_change() {
use polkadot_node_subsystem_util::reputation::add_reputation;
......@@ -471,7 +469,7 @@ fn delay_reputation_change() {
let pool = sp_core::testing::TaskExecutor::new();
let (ctx, mut handle) = make_subsystem_context::<BitfieldDistributionMessage, _>(pool);
let mut rng = dummy_rng();
let reputation_interval = Duration::from_millis(1);
let reputation_interval = Duration::from_millis(100);
let bg = async move {
let subsystem = BitfieldDistribution::new(Default::default());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment