diff --git a/zebrad/tests/acceptance.rs b/zebrad/tests/acceptance.rs index d8a4509c9..727b5e7d8 100644 --- a/zebrad/tests/acceptance.rs +++ b/zebrad/tests/acceptance.rs @@ -135,8 +135,8 @@ use common::{ sync::{ create_cached_database_height, sync_until, MempoolBehavior, LARGE_CHECKPOINT_TEST_HEIGHT, LARGE_CHECKPOINT_TIMEOUT, MEDIUM_CHECKPOINT_TEST_HEIGHT, STOP_AT_HEIGHT_REGEX, - STOP_ON_LOAD_TIMEOUT, SYNC_FINISHED_REGEX, SYNC_FINISHED_REGEX_TMP_STOP_EARLY, - TINY_CHECKPOINT_TEST_HEIGHT, TINY_CHECKPOINT_TIMEOUT, + STOP_ON_LOAD_TIMEOUT, SYNC_FINISHED_REGEX, TINY_CHECKPOINT_TEST_HEIGHT, + TINY_CHECKPOINT_TIMEOUT, }, }; @@ -882,7 +882,7 @@ fn full_sync_test(network: Network, timeout_argument_name: &str) -> Result<()> { // Use the checkpoints to sync quickly, then do full validation until the chain tip true, // Finish when we reach the chain tip - SYNC_FINISHED_REGEX_TMP_STOP_EARLY, + SYNC_FINISHED_REGEX, ) } else { eprintln!( diff --git a/zebrad/tests/common/sync.rs b/zebrad/tests/common/sync.rs index 6dda7d840..f0e6fca16 100644 --- a/zebrad/tests/common/sync.rs +++ b/zebrad/tests/common/sync.rs @@ -45,12 +45,6 @@ pub const STOP_AT_HEIGHT_REGEX: &str = "stopping at configured height"; pub const SYNC_FINISHED_REGEX: &str = r"finished initial sync to chain tip, using gossiped blocks .*sync_percent.*=.*100\."; -/// Temporary workaround for slow syncs - stop at 97%. -/// -/// TODO: revert this change (#4456) -pub const SYNC_FINISHED_REGEX_TMP_STOP_EARLY: &str = - r"estimated progress to chain tip .*sync_percent.*=.*97\."; - /// The maximum amount of time Zebra should take to reload after shutting down. /// /// This should only take a second, but sometimes CI VMs or RocksDB can be slow.