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

Commit 44c5c99

Browse files
authored
Ignore flaky test (#13631)
* Ignore flaky test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Re-enable running_the_node_works_and_can_be_interrupted Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Re-enable notifications_back_pressure Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Unused import Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
1 parent acdbf01 commit 44c5c99

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

client/rpc-spec-v2/src/chain_head/tests.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,9 @@ async fn follow_prune_best_block() {
10241024
}
10251025

10261026
#[tokio::test]
1027+
#[cfg(disable_flaky)]
1028+
#[allow(dead_code)]
1029+
// FIXME: https://github.com/paritytech/substrate/issues/11321
10271030
async fn follow_forks_pruned_block() {
10281031
let builder = TestClientBuilder::new();
10291032
let backend = builder.backend();
@@ -1137,6 +1140,9 @@ async fn follow_forks_pruned_block() {
11371140
}
11381141

11391142
#[tokio::test]
1143+
#[cfg(disable_flaky)]
1144+
#[allow(dead_code)]
1145+
// FIXME: https://github.com/paritytech/substrate/issues/11321
11401146
async fn follow_report_multiple_pruned_block() {
11411147
let builder = TestClientBuilder::new();
11421148
let backend = builder.backend();

client/service/test/src/client/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use sc_consensus::{
3030
};
3131
use sc_service::client::{new_in_mem, Client, LocalCallExecutor};
3232
use sp_api::ProvideRuntimeApi;
33-
use sp_consensus::{BlockOrigin, BlockStatus, Error as ConsensusError, SelectChain};
33+
use sp_consensus::{BlockOrigin, Error as ConsensusError, SelectChain};
3434
use sp_core::{testing::TaskExecutor, traits::CallContext, H256};
3535
use sp_runtime::{
3636
generic::BlockId,
@@ -1567,7 +1567,11 @@ fn respects_block_rules() {
15671567
}
15681568

15691569
#[test]
1570+
#[cfg(disable_flaky)]
1571+
#[allow(dead_code)]
1572+
// FIXME: https://github.com/paritytech/substrate/issues/11321
15701573
fn returns_status_for_pruned_blocks() {
1574+
use sc_consensus::BlockStatus;
15711575
sp_tracing::try_init_simple();
15721576
let tmp = tempfile::tempdir().unwrap();
15731577

0 commit comments

Comments
 (0)