Disable flaky test (#7420)

* Disable flaky test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix import

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-06-22 19:38:58 +02:00
committed by GitHub
parent 6dafe0fcc4
commit ae2e669a6a
@@ -31,7 +31,7 @@ use polkadot_node_subsystem::{
messages::ReportPeerMessage,
};
use polkadot_node_subsystem_test_helpers::make_subsystem_context;
use polkadot_node_subsystem_util::{reputation::add_reputation, TimeoutExt};
use polkadot_node_subsystem_util::TimeoutExt;
use polkadot_primitives::{AvailabilityBitfield, Signed, ValidatorIndex};
use rand_chacha::ChaCha12Rng;
use sp_application_crypto::AppCrypto;
@@ -428,7 +428,11 @@ 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;
let _ = env_logger::builder()
.filter(None, log::LevelFilter::Trace)
.is_test(true)