Skip to content

Commit 5386e3d

Browse files
committed
test fix
1 parent e28ca86 commit 5386e3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db/channel_cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ func TestChannelCacheActiveOnlyScenarios(t *testing.T) {
765765
_ = getChanges(t, collection, base.SetOf(activeChannel), changesOptions)
766766
// Write 20 docs to the channel. 5 should be cached, 15 require query
767767
for i := range 20 {
768-
docID := fmt.Sprintf("doc%d", i)
768+
docID := fmt.Sprintf("doc%d", i+1)
769769
_, _, _ = collection.Put(ctx, docID, Body{"channels": activeChannel})
770770
}
771771
db.WaitForPendingChanges(t)

0 commit comments

Comments
 (0)