Skip to content

Commit

Permalink
chg: skip snap synced tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcello33 committed Sep 10, 2024
1 parent fe5d813 commit 2a7cfca
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions core/blockchain_repair_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
//
Expand Down Expand Up @@ -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)
//
Expand Down

0 comments on commit 2a7cfca

Please sign in to comment.