We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2a53b commit 41b647fCopy full SHA for 41b647f
tests/integration/suite/daprd/subscriptions/stream/multi.go
@@ -255,8 +255,8 @@ func (m *multi) Run(t *testing.T, ctx context.Context) {
255
require.NoError(t, err)
256
}
257
258
- assert.Eventually(t, func() bool {
259
- wg.Wait()
260
- return receivedTotal.Load() == int32(messagesToSend*len(subscribers)) //nolint:gosec
+ wg.Wait()
+ assert.EventuallyWithT(t, func(c *assert.CollectT) {
+ assert.Equal(c, int32(messagesToSend*len(subscribers)), receivedTotal.Load()) //nolint:gosec
261
}, time.Second*10, time.Millisecond*10)
262
0 commit comments