Skip to content

Commit

Permalink
Call proper loop for outOfSyncLoop exist on close test (#11384)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko authored Nov 27, 2023
1 parent ec7c8c9 commit b87f21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chains/evm/client/node_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func TestUnit_NodeLifecycle_outOfSyncLoop(t *testing.T) {
n.wg.Add(1)
go func() {
defer close(ch)
n.aliveLoop()
n.outOfSyncLoop(func(num int64, td *utils.Big) bool { return false })
}()
assert.NoError(t, n.Close())
testutils.WaitWithTimeout(t, ch, "expected outOfSyncLoop to exit")
Expand Down

0 comments on commit b87f21e

Please sign in to comment.