From 4add7fc53c7a062af8029865528728b57988ec7b Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 26 May 2022 13:40:28 +1000 Subject: [PATCH] Permanently fix unreliable sync finished log regex (#4504) Unlike the other recent changes, this is a permanent fix. --- zebrad/tests/common/sync.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebrad/tests/common/sync.rs b/zebrad/tests/common/sync.rs index d1d1a092..3a68c28f 100644 --- a/zebrad/tests/common/sync.rs +++ b/zebrad/tests/common/sync.rs @@ -39,7 +39,8 @@ 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 = "estimated progress to chain tip sync_percent=100"; +pub const SYNC_FINISHED_REGEX: &str = + "finished initial sync to chain tip, using gossiped blocks sync_percent=100"; /// Temporary workaround for slow syncs - stop at 97%. ///