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

Method WaitForSequence

rest/utilities_testing.go:613–616  ·  view source on GitHub ↗

Wait for sequence to be buffered by the channel cache

(seq uint64)

Source from the content-addressed store, hash-verified

611
612// Wait for sequence to be buffered by the channel cache
613func (rt *RestTester) WaitForSequence(seq uint64) {
614 collection, ctx := rt.GetSingleTestDatabaseCollection()
615 require.NoError(rt.TB(), collection.WaitForSequence(ctx, seq))
616}
617
618func (rt *RestTester) WaitForPendingChanges() {
619 ctx := rt.Context()

Calls 2

TBMethod · 0.95