Skip to content

Commit

Permalink
Disable remaining snapsync tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Sep 19, 2024
1 parent a902cd1 commit 5fcd172
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions core/blockchain_repair_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,11 @@ func testShortOldForkedSnapSyncedRepair(t *testing.T, snapshots bool) {
// the chain to detect that it was fast syncing and not delete anything, since we
// can just pick up directly where we left off.
func TestShortOldForkedSnapSyncingRepair(t *testing.T) {
t.Skip("snap sync not supported in bor")
testShortOldForkedSnapSyncingRepair(t, false)
}
func TestShortOldForkedSnapSyncingRepairWithSnapshots(t *testing.T) {
t.Skip("snap sync not supported in bor")
testShortOldForkedSnapSyncingRepair(t, true)
}

Expand Down Expand Up @@ -412,6 +414,7 @@ func TestShortNewlyForkedSnapSyncingRepairWithSnapshots(t *testing.T) {
}

func testShortNewlyForkedSnapSyncingRepair(t *testing.T, snapshots bool) {
t.Skip("snap sync not supported in bor")
// Chain:
// G->C1->C2->C3->C4->C5->C6->C7->C8 (HEAD)
// └->S1->S2->S3->S4->S5->S6
Expand Down Expand Up @@ -548,6 +551,7 @@ func TestShortReorgedSnapSyncingRepairWithSnapshots(t *testing.T) {
}

func testShortReorgedSnapSyncingRepair(t *testing.T, snapshots bool) {
t.Skip("snap sync not supported in bor")
// Chain:
// G->C1->C2->C3->C4->C5->C6->C7->C8 (HEAD)
// └->S1->S2->S3->S4->S5->S6->S7->S8->S9->S10
Expand Down Expand Up @@ -785,6 +789,7 @@ func TestLongSnapSyncingShallowRepairWithSnapshots(t *testing.T) {
}

func testLongSnapSyncingShallowRepair(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 (HEAD)
//
Expand Down Expand Up @@ -831,6 +836,7 @@ func TestLongSnapSyncingDeepRepair(t *testing.T) { testLongSnapSync
func TestLongSnapSyncingDeepRepairWithSnapshots(t *testing.T) { testLongSnapSyncingDeepRepair(t, true) }

func testLongSnapSyncingDeepRepair(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 Expand Up @@ -974,15 +980,14 @@ func testLongOldForkedDeepRepair(t *testing.T, snapshots bool) {
// to be rolled back to the committed block, with everything afterwards kept as
// fast sync data; the side chain completely nuked by the freezer.
func TestLongOldForkedSnapSyncedShallowRepair(t *testing.T) {
t.Skip("snap sync not supported in bor")
testLongOldForkedSnapSyncedShallowRepair(t, false)
}
func TestLongOldForkedSnapSyncedShallowRepairWithSnapshots(t *testing.T) {
t.Skip("snap sync not supported in bor")
testLongOldForkedSnapSyncedShallowRepair(t, true)
}

func testLongOldForkedSnapSyncedShallowRepair(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 (HEAD)
// └->S1->S2->S3
Expand Down Expand Up @@ -1088,6 +1093,7 @@ func TestLongOldForkedSnapSyncingShallowRepairWithSnapshots(t *testing.T) {
}

func testLongOldForkedSnapSyncingShallowRepair(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 (HEAD)
// └->S1->S2->S3
Expand Down Expand Up @@ -1140,6 +1146,7 @@ func TestLongOldForkedSnapSyncingDeepRepairWithSnapshots(t *testing.T) {
}

func testLongOldForkedSnapSyncingDeepRepair(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)
// └->S1->S2->S3
Expand Down Expand Up @@ -1398,6 +1405,7 @@ func TestLongNewerForkedSnapSyncingShallowRepairWithSnapshots(t *testing.T) {
}

func testLongNewerForkedSnapSyncingShallowRepair(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 (HEAD)
// └->S1->S2->S3->S4->S5->S6->S7->S8->S9->S10->S11->S12
Expand Down Expand Up @@ -1450,6 +1458,7 @@ func TestLongNewerForkedSnapSyncingDeepRepairWithSnapshots(t *testing.T) {
}

func testLongNewerForkedSnapSyncingDeepRepair(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)
// └->S1->S2->S3->S4->S5->S6->S7->S8->S9->S10->S11->S12
Expand Down Expand Up @@ -1700,6 +1709,7 @@ func TestLongReorgedSnapSyncingShallowRepairWithSnapshots(t *testing.T) {
}

func testLongReorgedSnapSyncingShallowRepair(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 (HEAD)
// └->S1->S2->S3->S4->S5->S6->S7->S8->S9->S10->S11->S12->S13->S14->S15->S16->S17->S18->S19->S20->S21->S22->S23->S24->S25->S26
Expand Down Expand Up @@ -1751,6 +1761,7 @@ func TestLongReorgedSnapSyncingDeepRepairWithSnapshots(t *testing.T) {
}

func testLongReorgedSnapSyncingDeepRepair(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)
// └->S1->S2->S3->S4->S5->S6->S7->S8->S9->S10->S11->S12->S13->S14->S15->S16->S17->S18->S19->S20->S21->S22->S23->S24->S25->S26
Expand Down

0 comments on commit 5fcd172

Please sign in to comment.