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

Function persistentConfigTestCases

rest/persistent_config_test.go:1486–1507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1484}
1485
1486func persistentConfigTestCases() []persistentConfigTestCase {
1487
1488 if base.UnitTestUrlIsWalrus() {
1489 // rosmar has its own bootstrap implementation that doesn't differentiate between xattr and non-xattr persistence
1490 return []persistentConfigTestCase{
1491 {
1492 name: "rosmar_persistence",
1493 xattrConfig: false,
1494 },
1495 }
1496 } else {
1497 return []persistentConfigTestCase{
1498 {
1499 name: "xattr_persistence",
1500 xattrConfig: true,
1501 }, {
1502 name: "document_persistence",
1503 xattrConfig: false,
1504 },
1505 }
1506 }
1507}

Calls 1

UnitTestUrlIsWalrusFunction · 0.92

Tested by

no test coverage detected