mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
Fix flaky reputation change test (#7550)
* 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 <>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user