Skip to content

Remove TestLowSequenceHandlingNoDuplicates #7318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions db/change_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,9 @@ func TestChannelQueryCancellation(t *testing.T) {
}

func TestLowSequenceHandlingNoDuplicates(t *testing.T) {
// TODO: Disabled until https://github.com/couchbase/sync_gateway/issues/3056 is fixed.
t.Skip("WARNING: TEST DISABLED")

base.SetUpTestLogging(t, base.LevelDebug, base.KeyChanges, base.KeyCache)

db, ctx := setupTestDBWithCacheOptions(t, shortWaitCache())
Expand Down Expand Up @@ -1048,6 +1051,8 @@ func TestLowSequenceHandlingNoDuplicates(t *testing.T) {
err = appendFromFeed(&changes, feed, 2, base.DefaultWaitForSequence)
assert.True(t, err == nil)
assert.Len(t, changes, 6)
// TODO: Test flake: Issue #3056 causing two seq 3 entries and losing seq 4 since we only pull in two more feed items
// {Seq:2::3, ID:doc-3, Changes:[map[rev:1-a]]} {Seq:3, ID:doc-3, Changes:[map[rev:1-a]]}
assert.True(t, verifyChangesSequencesIgnoreOrder(changes, []uint64{1, 2, 5, 6, 3, 4}))

WriteDirect(t, collection, []string{"ABC"}, 7)
Expand Down
Loading