From 2a7cfca71f508d9a759d9b2a0cf95b99748f8fa4 Mon Sep 17 00:00:00 2001 From: marcello33 Date: Tue, 10 Sep 2024 15:04:39 +0200 Subject: [PATCH] chg: skip snap synced tests --- core/blockchain_repair_test.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/core/blockchain_repair_test.go b/core/blockchain_repair_test.go index dde89e6f5c..1a8a114509 100644 --- a/core/blockchain_repair_test.go +++ b/core/blockchain_repair_test.go @@ -128,6 +128,7 @@ func TestShortSnapSyncingRepairWithSnapshots(t *testing.T) { } func testShortSnapSyncingRepair(t *testing.T, snapshots bool) { + // t.Skip("snap sync not supported in bor") // Chain: // G->C1->C2->C3->C4->C5->C6->C7->C8 (HEAD) // @@ -710,10 +711,18 @@ func testLongSnapSyncedShallowRepair(t *testing.T, snapshots bool) { // sync pivot point - older than the ancient limit - was already committed, after // which the process crashed. In this case we expect the chain to be rolled back // to the committed block, with everything afterwards deleted. -func TestLongSnapSyncedDeepRepair(t *testing.T) { testLongSnapSyncedDeepRepair(t, false) } -func TestLongSnapSyncedDeepRepairWithSnapshots(t *testing.T) { testLongSnapSyncedDeepRepair(t, true) } +func TestLongSnapSyncedDeepRepair(t *testing.T) { + t.Skip("snap sync not supported in bor") + testLongSnapSyncedDeepRepair(t, false) +} + +func TestLongSnapSyncedDeepRepairWithSnapshots(t *testing.T) { + t.Skip("snap sync not supported in bor") + testLongSnapSyncedDeepRepair(t, true) +} func testLongSnapSyncedDeepRepair(t *testing.T, snapshots bool) { + t.Skip("snap sync not supported in bor") // Chain: // G->C1->C2->C3->C4->C5->C6->C7->C8->C9->C10->C11->C12->C13->C14->C15->C16->C17->C18->C19->C20->C21->C22->C23->C24 (HEAD) //