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

Method seedEntries

db/channel_cache_test.go:570–574  ·  view source on GitHub ↗
(seededEntries LogEntries)

Source from the content-addressed store, hash-verified

568}
569
570func (qh *testQueryHandler) seedEntries(seededEntries LogEntries) {
571 qh.lock.Lock()
572 qh.entries = append(qh.entries, seededEntries...)
573 qh.lock.Unlock()
574}
575
576func TestChannelCacheBackgroundTaskWithIllegalTimeInterval(t *testing.T) {
577 base.SetUpTestLogging(t, base.LevelWarn, base.KeyCache)

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected