Skip to content

Commit

Permalink
resubscribe to events after restart
Browse files Browse the repository at this point in the history
  • Loading branch information
nasdf committed Jun 11, 2024
1 parent 45f6edd commit 938954e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/utils2.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,11 @@ func restartNodes(
c, err := setupClient(s, n)
require.NoError(s.t, err)
s.nodes[i] = c

// subscribe to merge complete events
sub, err := c.Events().Subscribe(event.MergeCompleteEventName)
require.NoError(s.t, err)
s.eventSubs[i] = sub
}

// The index of the action after the last wait action before the current restart action.
Expand Down

0 comments on commit 938954e

Please sign in to comment.