diff --git a/.github/workflows/continous-integration-docker.yml b/.github/workflows/continous-integration-docker.yml index dde1aad7e87..9198bda0b48 100644 --- a/.github/workflows/continous-integration-docker.yml +++ b/.github/workflows/continous-integration-docker.yml @@ -309,7 +309,7 @@ jobs: needs_zebra_state: false saves_to_disk: true disk_suffix: tip - height_grep_text: 'estimated progress to chain tip sync_percent=99.* current_height=Height' + height_grep_text: 'finished initial sync to chain tip, using gossiped blocks sync_percent=100.* current_height=Height' # Test that Zebra can answer a synthetic RPC call, using a cached Zebra tip state # diff --git a/zebrad/tests/common/sync.rs b/zebrad/tests/common/sync.rs index abc62d4576a..4a8fcdbd50b 100644 --- a/zebrad/tests/common/sync.rs +++ b/zebrad/tests/common/sync.rs @@ -39,10 +39,7 @@ 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. -/// -/// 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"; +pub const SYNC_FINISHED_REGEX: &str = "finished initial sync to chain tip, using gossiped blocks"; /// The maximum amount of time Zebra should take to reload after shutting down. ///