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

Function waitAndAssertCondition

db/database_test.go:4367–4369  ·  view source on GitHub ↗
(t *testing.T, fn func() bool, failureMsgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

4365}
4366
4367func waitAndAssertCondition(t *testing.T, fn func() bool, failureMsgAndArgs ...interface{}) {
4368 waitAndAssertConditionWithOptions(t, fn, 20, 100, failureMsgAndArgs...)
4369}
4370
4371func Test_stopBackgroundManagers(t *testing.T) {
4372 db, ctx := setupTestDB(t)

Calls 1

Tested by

no test coverage detected