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

Method WaitForPendingChanges

rest/utilities_testing.go:618–623  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

616}
617
618func (rt *RestTester) WaitForPendingChanges() {
619 ctx := rt.Context()
620 for _, collection := range rt.GetDbCollections() {
621 require.NoError(rt.TB(), collection.WaitForPendingChanges(ctx))
622 }
623}
624
625// SetAdminParty toggles the guest user between disabled and enabled. If enabled, the guest user is given access to the UserStar channel on all collections.
626func (rt *RestTester) SetAdminParty(partyTime bool) {

Calls 3

ContextMethod · 0.95
GetDbCollectionsMethod · 0.95
TBMethod · 0.95