Skip to content

Commit 04aefda

Browse files
committed
Merge
1 parent e35b29e commit 04aefda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

block/internal/syncing/syncer_benchmark_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func BenchmarkSyncerIO(b *testing.B) {
4343
fixt := newBenchFixture(b, spec.heights, spec.shuffledTx, spec.daDelay, spec.execDelay, true)
4444

4545
// run both loops
46-
go fixt.s.processLoop()
46+
go fixt.s.processLoop(b.Context())
4747

4848
// Create a DAFollower to drive DA retrieval.
4949
follower := NewDAFollower(DAFollowerConfig{
@@ -58,7 +58,7 @@ func BenchmarkSyncerIO(b *testing.B) {
5858
follower.highestSeenDAHeight.Store(spec.heights + daHeightOffset)
5959
go follower.runCatchup()
6060

61-
fixt.s.startSyncWorkers()
61+
fixt.s.startSyncWorkers(b.Context())
6262

6363
require.Eventually(b, func() bool {
6464
processedHeight, _ := fixt.s.store.Height(b.Context())

0 commit comments

Comments
 (0)