Skip to content

Commit

Permalink
Revert "Disable unreliable sync_large_checkpoints_testnet (#1789)"
Browse files Browse the repository at this point in the history
This reverts commit bae49e5.
  • Loading branch information
teor2345 authored and dconnolly committed Mar 10, 2021
1 parent e50692b commit ac4611f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions zebrad/tests/acceptance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -745,8 +745,22 @@ fn sync_large_checkpoints_mainnet() -> Result<()> {
Ok(())
}

// Todo: We had a `sync_large_checkpoints_testnet` here but it was removed because
// the testnet is unreliable(#1222). Enable after we have more testnet instances(#1791).
/// Test if `zebrad` can sync some larger checkpoints on testnet.
///
/// This test does not run by default, see `sync_large_checkpoints_mainnet`
/// for details.
#[test]
#[ignore]
fn sync_large_checkpoints_testnet() -> Result<()> {
sync_until(
LARGE_CHECKPOINT_TEST_HEIGHT,
Testnet,
STOP_AT_HEIGHT_REGEX,
LARGE_CHECKPOINT_TIMEOUT,
None,
)
.map(|_tempdir| ())
}

/// Sync `network` until `zebrad` reaches `height`, and ensure that
/// the output contains `stop_regex`. If `reuse_tempdir` is supplied,
Expand Down

0 comments on commit ac4611f

Please sign in to comment.