MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / TestConflictRevLimitDefault

Function TestConflictRevLimitDefault

db/database_test.go:2151–2157  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2149}
2150
2151func TestConflictRevLimitDefault(t *testing.T) {
2152
2153 // Test Default Is the higher of the two
2154 db, ctx := setupTestDBAllowConflicts(t)
2155 defer db.Close(ctx)
2156 assert.Equal(t, uint32(DefaultRevsLimitConflicts), db.RevsLimit)
2157}
2158
2159func TestConflictRevLimitAllowConflictsTrue(t *testing.T) {
2160 // Test AllowConflicts

Callers

nothing calls this directly

Calls 3

CloseMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected