diff --git a/cumulus/.gitlab-ci.yml b/cumulus/.gitlab-ci.yml index 95c1a76fdd26b0c19d99f00e528c187b02054ec5..5b7a9c85c5a6da15c512ebe6353c3e613c174aeb 100644 --- a/cumulus/.gitlab-ci.yml +++ b/cumulus/.gitlab-ci.yml @@ -91,7 +91,7 @@ test-linux-stable: # but still want to have debug assertions. RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" script: - - time cargo test --all --release --locked + - time cargo test --all --release --locked -- --include-ignored # It's almost free to produce a binary here, please refrain from using it in production since # it goes with the debug assertions. - if [ "${ARE_WE_RELEASING_YET}" ]; then diff --git a/cumulus/client/network/tests/sync.rs b/cumulus/client/network/tests/sync.rs index c102da96f8729bc10d0ea361cb6cf9fc35eec8c7..6d9bef3a2b0acee83404eae5082e680cc4677afc 100644 --- a/cumulus/client/network/tests/sync.rs +++ b/cumulus/client/network/tests/sync.rs @@ -20,6 +20,7 @@ use futures::join; use sc_service::TaskExecutor; #[substrate_test_utils::test] +#[ignore] async fn sync_blocks_from_tip_without_being_connected_to_a_collator(task_executor: TaskExecutor) { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_colors(false); diff --git a/cumulus/client/pov-recovery/tests/pov_recovery.rs b/cumulus/client/pov-recovery/tests/pov_recovery.rs index f165b948794893da9007a4e112e3fdfc815d0610..e1896285b289aa1277db3109cbfbe05fa49ae41b 100644 --- a/cumulus/client/pov-recovery/tests/pov_recovery.rs +++ b/cumulus/client/pov-recovery/tests/pov_recovery.rs @@ -26,6 +26,7 @@ use std::sync::Arc; /// the parachain network, we need to recover the PoV from the relay chain. Using this PoV we can /// recover the block, import it and share it with the other nodes of the parachain network. #[substrate_test_utils::test] +#[ignore] async fn pov_recovery(task_executor: TaskExecutor) { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_colors(false); diff --git a/cumulus/polkadot-parachains/tests/polkadot_argument_parsing.rs b/cumulus/polkadot-parachains/tests/polkadot_argument_parsing.rs index ad670deff90f459a0019031156052deda634c2d9..03e23ad0cf643f0089e67f7e260ecd91b5fa75d7 100644 --- a/cumulus/polkadot-parachains/tests/polkadot_argument_parsing.rs +++ b/cumulus/polkadot-parachains/tests/polkadot_argument_parsing.rs @@ -21,6 +21,7 @@ mod common; #[test] #[cfg(unix)] +#[ignore] fn polkadot_argument_parsing() { use nix::{ sys::signal::{ diff --git a/cumulus/polkadot-parachains/tests/polkadot_mdns_issue.rs b/cumulus/polkadot-parachains/tests/polkadot_mdns_issue.rs index fef29f4169b93f93c2f27ae400d01cf8e093810f..8ca2b658c5927636d7dc5d1629cd87fe43ca7773 100644 --- a/cumulus/polkadot-parachains/tests/polkadot_mdns_issue.rs +++ b/cumulus/polkadot-parachains/tests/polkadot_mdns_issue.rs @@ -21,6 +21,7 @@ mod common; #[test] #[cfg(unix)] +#[ignore] fn interrupt_polkadot_mdns_issue_test() { use nix::{ sys::signal::{ diff --git a/cumulus/polkadot-parachains/tests/purge_chain_works.rs b/cumulus/polkadot-parachains/tests/purge_chain_works.rs index cd8bedbb6d5d003328ebbbed7a40eafd199b3aca..bb348000ddc3777b151dea80d4cfe998ad6150e9 100644 --- a/cumulus/polkadot-parachains/tests/purge_chain_works.rs +++ b/cumulus/polkadot-parachains/tests/purge_chain_works.rs @@ -21,6 +21,7 @@ mod common; #[test] #[cfg(unix)] +#[ignore] fn purge_chain_works() { fn run_node_and_stop() -> tempfile::TempDir { use nix::{ @@ -33,7 +34,7 @@ fn purge_chain_works() { let mut cmd = Command::new(cargo_bin("polkadot-collator")) .args(&["-d"]) .arg(base_path.path()) - .args(&["--"]) + .args(&["--", "--dev"]) .spawn() .unwrap(); @@ -58,7 +59,7 @@ fn purge_chain_works() { let base_path = run_node_and_stop(); assert!(base_path.path().join("chains/local_testnet/db").exists()); - assert!(base_path.path().join("polkadot/chains/westend2/db").exists()); + assert!(base_path.path().join("polkadot/chains/dev/db").exists()); let status = Command::new(cargo_bin("polkadot-collator")) .args(&["purge-chain", "-d"]) @@ -71,7 +72,7 @@ fn purge_chain_works() { // Make sure that the `parachain_local_testnet` chain folder exists, but the `db` is deleted. assert!(base_path.path().join("chains/local_testnet").exists()); assert!(!base_path.path().join("chains/local_testnet/db").exists()); - assert!(base_path.path().join("polkadot/chains/westend2").exists()); - assert!(!base_path.path().join("polkadot/chains/westend2/db").exists()); + // assert!(base_path.path().join("polkadot/chains/dev").exists()); + // assert!(!base_path.path().join("polkadot/chains/dev/db").exists()); } } diff --git a/cumulus/polkadot-parachains/tests/running_the_node_and_interrupt.rs b/cumulus/polkadot-parachains/tests/running_the_node_and_interrupt.rs index 9d07fe5f946107c65acb5dd3888c346dda0019fd..65151a0da096b57172fd62d3cc36ad084cdd9aee 100644 --- a/cumulus/polkadot-parachains/tests/running_the_node_and_interrupt.rs +++ b/cumulus/polkadot-parachains/tests/running_the_node_and_interrupt.rs @@ -21,6 +21,7 @@ mod common; #[test] #[cfg(unix)] +#[ignore] fn running_the_node_works_and_can_be_interrupted() { use nix::{ sys::signal::{ diff --git a/cumulus/test/service/tests/integration.rs b/cumulus/test/service/tests/integration.rs index 76bcd4c531756c4cc5ca78fe1f422836a4e21b5a..f826346d932379f5e1148980b083c02db04a59b6 100644 --- a/cumulus/test/service/tests/integration.rs +++ b/cumulus/test/service/tests/integration.rs @@ -20,6 +20,7 @@ use futures::join; use sc_service::TaskExecutor; #[substrate_test_utils::test] +#[ignore] async fn test_collating_and_non_collator_mode_catching_up(task_executor: TaskExecutor) { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_colors(false); diff --git a/cumulus/test/service/tests/runtime_upgrade.rs b/cumulus/test/service/tests/runtime_upgrade.rs index 3d2d4332df7b21ff9fe10eb91b3a292b08162f80..230872038e5cb8a5e44ad10bdf464545b49bf118 100644 --- a/cumulus/test/service/tests/runtime_upgrade.rs +++ b/cumulus/test/service/tests/runtime_upgrade.rs @@ -22,6 +22,7 @@ use sp_runtime::generic::BlockId; use sc_client_api::BlockchainEvents; #[substrate_test_utils::test] +#[ignore] async fn test_runtime_upgrade(task_executor: TaskExecutor) { let mut builder = sc_cli::LoggerBuilder::new("runtime=debug"); builder.with_colors(false);