storj/storage
Egon Elbre 85c45cd56f private/dbutil/pgtest: support multiple databases for testing
Currently Cockroach isn't performant for concurrent database setup and
tear-down. Instead of a single instance allow setting multiple potential
connection strings and let the tests pick one connection string
randomly.

This improves test duration by ~10 minutes.

While we are at significantly changing how pgtest works, introduce
helper PickPostgres and PickCockroach for selecting the database to
reduce code duplications in multiple places.

Change-Id: I8ad171d5c4c8a4fc081ec2ae9bdd0cc948a80619
2020-04-28 21:55:49 +03:00
..
boltdb storage/boltdb: update to etcd/bbolt v1.3.4 2020-03-24 12:33:34 +02:00
cockroachkv private/dbutil/pgtest: support multiple databases for testing 2020-04-28 21:55:49 +03:00
filestore all: use monkit v3 2020-02-05 23:53:17 +00:00
postgreskv private/dbutil/pgtest: support multiple databases for testing 2020-04-28 21:55:49 +03:00
redis private/processgroup: moved to storj.io/common/processgroup 2020-03-03 10:50:33 +00:00
storelogger all: use monkit v3 2020-02-05 23:53:17 +00:00
teststore satellite/metainfo: add MigrateToLatest to PointerDB 2020-04-28 17:26:35 +00:00
testsuite satellite/metainfo: add MigrateToLatest to PointerDB 2020-04-28 17:26:35 +00:00
blob.go storage: delete unused code and lower visibility of static iterator 2020-02-17 14:53:54 +00:00
common.go storage: reduce default lookup limit to 500 2020-04-13 19:00:23 +03:00
listkeys.go storage: delete unused code and lower visibility of static iterator 2020-02-17 14:53:54 +00:00
listv2.go satellite/metainfo: avoid temporary list 2020-04-15 08:01:42 +00:00
util.go storage: delete unused code and lower visibility of static iterator 2020-02-17 14:53:54 +00:00