Skip to content

Commit

Permalink
final atetmpt
Browse files Browse the repository at this point in the history
  • Loading branch information
woutslakhorst committed Aug 12, 2023
1 parent bdfb342 commit 0fac4f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion network/dag/notifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ func TestNotifier_Notify(t *testing.T) {
return s.Save(tx, event)
})

s.Notify(event)
// we use retry here since Notify will run notifyNow twice asynchronously
s.retry(event)

test.WaitFor(t, func() (bool, error) {
return counter.N.Load() == 1, nil
Expand Down

0 comments on commit 0fac4f3

Please sign in to comment.