Documentation ¶
Index ¶
Constants ¶
const DefaultCockroach = "cockroach://root@localhost:26257/master?sslmode=disable"
DefaultCockroach is expected to work when a local cockroachDB instance is running.
const DefaultPostgres = "postgres://storj:storj-pass@test-postgres/teststorj?sslmode=disable"
DefaultPostgres is expected to work under the storj-test docker-compose instance.
const DefaultSpanner = "spanner://projects/storj-test/instances/test-instance/databases/metainfo"
DefaultSpanner is expected to work when a local spanner emulator is running.
Variables ¶
This section is empty.
Functions ¶
func PickCockroach ¶
PickCockroach picks one cockroach database from flag.
func PickCockroachAlt ¶
PickCockroachAlt picks an alternate cockroach database from flag.
This is used for high-load tests to ensure that other tests do not timeout.
func PickCockroachNoSkip ¶
func PickCockroachNoSkip() string
PickCockroachNoSkip picks one cockroach database from flag, but doesn't autoskip.
func PickPostgres ¶
PickPostgres picks one postgres database from flag.
func PickPostgresNoSkip ¶
func PickPostgresNoSkip() string
PickPostgresNoSkip picks one postgres database from flag, but doesn't autoskip.
func PickSpannerNoSkip ¶
func PickSpannerNoSkip() string
PickSpannerNoSkip picks one spanner database from flag, but doesn't autoskip.