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

Commit

Permalink
disable tests with disputed blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Aug 20, 2021
1 parent 122b4dd commit ca76b76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion node/service/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn test_harness<T: Future<Output = VirtualOverseer>>(
let target_hash = case_vars.target_block.clone();
let selection_process = async move {
let best = select_relay_chain
.finality_target_with_fallback(target_hash, target_hash, None)
.finality_target_with_fallback(target_hash, Some(target_hash), None)
.await
.unwrap();
finality_target_tx.send(best).unwrap();
Expand Down Expand Up @@ -729,21 +729,25 @@ fn chain_sel_0() {
run_specialized_test_w_harness(chain_0);
}

#[cfg(feature = "disputes")]
#[test]
fn chain_sel_1() {
run_specialized_test_w_harness(chain_1);
}

#[cfg(feature = "disputes")]
#[test]
fn chain_sel_2() {
run_specialized_test_w_harness(chain_2);
}

#[cfg(feature = "disputes")]
#[test]
fn chain_sel_3() {
run_specialized_test_w_harness(chain_3);
}

#[cfg(feature = "disputes")]
#[test]
fn chain_sel_4_target_hash_value_not_contained() {
run_specialized_test_w_harness(chain_4);
Expand Down

0 comments on commit ca76b76

Please sign in to comment.