From 5fcd1720f12c27d8ce241315434616f4b6a84397 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 19 Sep 2024 13:22:59 -0700 Subject: [PATCH] Disable remaining snapsync tests --- core/blockchain_repair_test.go | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/core/blockchain_repair_test.go b/core/blockchain_repair_test.go index bf246bcbbe..84235aa9f9 100644 --- a/core/blockchain_repair_test.go +++ b/core/blockchain_repair_test.go @@ -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) } @@ -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 @@ -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 @@ -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) // @@ -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) // @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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