SkipImportTestsIfNotEnabled skips test that exercise import features
(t *testing.T)
| 788 | |
| 789 | // SkipImportTestsIfNotEnabled skips test that exercise import features |
| 790 | func 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. |
| 798 | func CreateBucketScopesAndCollections(ctx context.Context, bucketSpec BucketSpec, scopes map[string][]string) error { |