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

Method GetNonDefaultDatastoreNames

base/util_testing.go:133–135  ·  view source on GitHub ↗

Return a sorted list of data store names

()

Source from the content-addressed store, hash-verified

131
132// Return a sorted list of data store names
133func (tb *TestBucket) GetNonDefaultDatastoreNames() []sgbucket.DataStoreName {
134 return GetNonDefaultDatastoreNames(tb.t, tb)
135}
136
137// GetSingleDataStore returns a DataStore that can be used for testing.
138// This may be the default collection, or a named collection depending on whether SG_TEST_USE_DEFAULT_COLLECTION is set.

Callers 7

GetNamedDataStoreMethod · 0.95
DropAllTestIndexesFunction · 0.80
TestRemoveCollectionFunction · 0.80
TestPostUpgradeFunction · 0.80
setupIndexesFunction · 0.80

Calls 1

Tested by 2

TestRemoveCollectionFunction · 0.64
TestPostUpgradeFunction · 0.64