Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix flaky reputation change test (#7550)
Browse files Browse the repository at this point in the history
* Fix flaky reputation change test

* Remove fixme

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

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>
  • Loading branch information
AndreiEres and ggwpez authored Aug 4, 2023
1 parent 407e158 commit e8ee999
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions node/network/bitfield-distribution/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit e8ee999

Please sign in to comment.