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

Function SkipImportTestsIfNotEnabled

base/util_testing.go:790–795  ·  view source on GitHub ↗

SkipImportTestsIfNotEnabled skips test that exercise import features

(t *testing.T)

Source from the content-addressed store, hash-verified

788
789// SkipImportTestsIfNotEnabled skips test that exercise import features
790func SkipImportTestsIfNotEnabled(t *testing.T) {
791
792 if !TestUseXattrs() {
793 t.Skip("XATTR based tests not enabled. Enable via SG_TEST_USE_XATTRS=true environment variable")
794 }
795}
796
797// CreateBucketScopesAndCollections will create the given scopes and collections within the given BucketSpec.
798func CreateBucketScopesAndCollections(ctx context.Context, bucketSpec BucketSpec, scopes map[string][]string) error {

Calls 1

TestUseXattrsFunction · 0.70