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

Method CallProcessEntry

db/util_testing.go:110–112  ·  view source on GitHub ↗

CallProcessEntry allows the cache benchmarking tool to call directly into processEntry, not to be used from outside test code

(t *testing.T, ctx context.Context, log *LogEntry)

Source from the content-addressed store, hash-verified

108// CallProcessEntry allows the cache benchmarking tool to call directly into processEntry, not to
109// be used from outside test code
110func (db *DatabaseContext) CallProcessEntry(t *testing.T, ctx context.Context, log *LogEntry) {
111 db.changeCache.processEntry(ctx, log)
112}
113
114// GetCachedChanges will grab cached changes form channel cache for caching tool, not to be used outside test code.
115func (db *DatabaseContext) GetCachedChanges(t *testing.T, ctx context.Context, chanID channels.ID) ([]*LogEntry, error) {

Callers 1

nodeWritesMethod · 0.80

Calls 1

processEntryMethod · 0.80

Tested by

no test coverage detected