Check the whether tests are being run with SG_TEST_BACKING_STORE=Couchbase
()
| 286 | |
| 287 | // Check the whether tests are being run with SG_TEST_BACKING_STORE=Couchbase |
| 288 | func TestUseCouchbaseServer() bool { |
| 289 | backingStore := os.Getenv(TestEnvSyncGatewayBackingStore) |
| 290 | return strings.EqualFold(backingStore, TestEnvBackingStoreCouchbase) |
| 291 | } |
| 292 | |
| 293 | func TestUseWalrus() bool { |
| 294 | backingStore := os.Getenv(TestEnvSyncGatewayBackingStore) |
no outgoing calls
no test coverage detected