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

Function TestRequiresCollections

base/util_testing.go:754–758  ·  view source on GitHub ↗

TestRequiresCollections will skip the current test if the Couchbase Server version it is running against does not support collections.

(t testing.TB)

Source from the content-addressed store, hash-verified

752// TestRequiresCollections will skip the current test if the Couchbase Server version it is running against does not
753// support collections.
754func TestRequiresCollections(t testing.TB) {
755 if !GTestBucketPool.canUseNamedCollections() {
756 t.Skipf("Skipping test - collections not enabled")
757 }
758}
759
760// TestRequiresDCPResync will skip the current test DCP sync is not supported.
761func TestRequiresDCPResync(t testing.TB) {

Calls 1

Tested by

no test coverage detected