fix(ci): Temporarily finish full sync at 99% (#4457)

* Finish full sync at 99.5%

* Finish full sync test harness at 99.5%

* Try 99.2% instead

* Try 99%
This commit is contained in:
teor 2022-05-24 17:59:09 +10:00 committed by GitHub
parent c006772180
commit 49406f3132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -298,7 +298,7 @@ jobs:
needs_zebra_state: false
saves_to_disk: true
disk_suffix: tip
height_grep_text: 'finished initial sync to chain tip, using gossiped blocks sync_percent=100.* current_height=Height'
height_grep_text: 'estimated progress to chain tip sync_percent=99.* current_height=Height'
# Test that Zebra can answer a synthetic RPC call, using a cached Zebra tip state
#

View File

@ -39,7 +39,10 @@ pub const STOP_AT_HEIGHT_REGEX: &str = "stopping at configured height";
/// - we have synced all known checkpoints,
/// - the syncer has stopped downloading lots of blocks, and
/// - we are regularly downloading some blocks via the syncer or block gossip.
pub const SYNC_FINISHED_REGEX: &str = "finished initial sync to chain tip, using gossiped blocks";
///
/// Temporary workaround for slow syncs - stop at 99.5%.
/// TODO: revert this change (#4456)
pub const SYNC_FINISHED_REGEX: &str = "estimated progress to chain tip sync_percent=99";
/// The maximum amount of time Zebra should take to reload after shutting down.
///