Ignore longer sync tests by default
This commit is contained in:
parent
0d121833af
commit
e52a1c07a3
|
|
@ -482,7 +482,11 @@ fn sync_one_checkpoint_testnet() -> Result<()> {
|
||||||
/// Test if `zebrad` can sync the second checkpoint on mainnet.
|
/// Test if `zebrad` can sync the second checkpoint on mainnet.
|
||||||
///
|
///
|
||||||
/// The second checkpoint contains a large number of blocks.
|
/// The second checkpoint contains a large number of blocks.
|
||||||
|
/// This test might fail or timeout on slow or unreliable networks,
|
||||||
|
/// so we don't run it by default. It also takes a lot longer than
|
||||||
|
/// our 10 second target time for default tests.
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn sync_two_checkpoints_mainnet() -> Result<()> {
|
fn sync_two_checkpoints_mainnet() -> Result<()> {
|
||||||
sync_until(
|
sync_until(
|
||||||
"verified checkpoint range block_count=2000",
|
"verified checkpoint range block_count=2000",
|
||||||
|
|
@ -493,8 +497,10 @@ fn sync_two_checkpoints_mainnet() -> Result<()> {
|
||||||
|
|
||||||
/// Test if `zebrad` can sync the second checkpoint on testnet.
|
/// Test if `zebrad` can sync the second checkpoint on testnet.
|
||||||
///
|
///
|
||||||
/// The second checkpoint contains a large number of blocks.
|
/// This test does not run by default, see `sync_two_checkpoints_mainnet`
|
||||||
|
/// for details.
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn sync_two_checkpoints_testnet() -> Result<()> {
|
fn sync_two_checkpoints_testnet() -> Result<()> {
|
||||||
sync_until(
|
sync_until(
|
||||||
"verified checkpoint range block_count=2000",
|
"verified checkpoint range block_count=2000",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue