Skip to content

Commit 656ab4c

Browse files
committed
test: stabilize sync loop persistence test
1 parent eca3bb6 commit 656ab4c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

block/internal/syncing/syncer_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@ func TestSyncLoopPersistState(t *testing.T) {
880880
eventCh <- datypes.SubscriptionEvent{Height: myFutureDAHeight}
881881
syncerInst1.startSyncWorkers(ctx)
882882
syncerInst1.wg.Wait()
883+
follower1.Stop()
883884
requireEmptyChan(t, errorCh)
884885

885886
t.Log("sync workers on instance1 completed")

0 commit comments

Comments
 (0)