Restrict collating_using_adder_collator test on feature real-overseer (#1947)

This test can only pass given that feature, and runs forever otherwise.

This change ensure that a careless `cargo test --all` doesn't run forever.
This commit is contained in:
Peter Goodspeed-Niklaus
2020-11-12 16:16:57 +01:00
committed by GitHub
parent 4b0829975e
commit 75da335d66
@@ -19,6 +19,7 @@
// If this test is failing, make sure to run all tests with the `real-overseer` feature being enabled. // If this test is failing, make sure to run all tests with the `real-overseer` feature being enabled.
#[substrate_test_utils::test] #[substrate_test_utils::test]
#[cfg(feature = "real-overseer")]
async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor) { async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor) {
use sp_keyring::AccountKeyring::*; use sp_keyring::AccountKeyring::*;
use futures::join; use futures::join;