MCPcopy Create free account
hub / github.com/couchbase/moss / TestOpsAsyncMerge

Function TestOpsAsyncMerge

collection_test.go:603–614  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

601}
602
603func TestOpsAsyncMerge(t *testing.T) {
604 m, err := NewCollection(CollectionOptions{
605 MergeOperator: &MergeOperatorStringAppend{Sep: ":"},
606 })
607 if err != nil || m == nil {
608 t.Errorf("expected moss")
609 }
610
611 m.Start()
612 testOps(t, m)
613 m.Close()
614}
615
616func TestOpsDeferredSort(t *testing.T) {
617 m, err := NewCollection(CollectionOptions{

Callers

nothing calls this directly

Calls 4

StartMethod · 0.95
CloseMethod · 0.95
NewCollectionFunction · 0.85
testOpsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…