From 1d36a30d04b21d8c85f4a2822d1c39f1976b5080 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Wed, 9 Jun 2021 16:33:32 -0400 Subject: [PATCH] spicedb: allow for duplicate watch events in tests --- internal/datastore/test/watch.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/datastore/test/watch.go b/internal/datastore/test/watch.go index da2ab4d98e..836a433a09 100644 --- a/internal/datastore/test/watch.go +++ b/internal/datastore/test/watch.go @@ -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")