TestRequiresCollections will skip the current test if the Couchbase Server version it is running against does not support collections.
(t testing.TB)
| 752 | // TestRequiresCollections will skip the current test if the Couchbase Server version it is running against does not |
| 753 | // support collections. |
| 754 | func 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. |
| 761 | func TestRequiresDCPResync(t testing.TB) { |
no test coverage detected