Skip to content

Commit

Permalink
Merge pull request #798 from REDACTED/crdb-ci-len
Browse files Browse the repository at this point in the history
spicedb: allow for duplicate watch events in tests
  • Loading branch information
jakedt authored Jun 9, 2021
2 parents 0c83249 + 1d36a30 commit 349007b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/datastore/test/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,8 @@ func verifyUpdates(
return
}

require.Equal(len(expected), len(change.Changes))

expectedChangeSet := setOfChanges(expected)
actualChangeSet := setOfChanges(change.Changes)

require.True(expectedChangeSet.IsEqual(actualChangeSet))
case <-changeWait.C:
require.Fail("Timed out")
Expand Down

0 comments on commit 349007b

Please sign in to comment.