storj/private/testplanet
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
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
planet_test.go bump storj.io/common to latest 2020-03-25 09:08:40 -04:00
planet.go private/dbutil/pgtest: support multiple databases for testing 2020-04-28 21:55:49 +03:00
reconfigure.go private/testplanet: allow modifying created database 2020-03-27 19:14:48 +00:00
referralmanager.go all: remove old uuid 2020-04-02 19:30:36 +03:00
rpc_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run.go private/dbutil/pgtest: support multiple databases for testing 2020-04-28 21:55:49 +03:00
satellite.go satellite/console: add rate limiter to login, register, password recovery 2020-04-24 17:15:49 +00:00
storagenode-wait.go private/testplanet: add WaitForStorageNodeEndpoints 2020-03-05 10:33:56 +00:00
storagenode.go private/testplanet: simplify uplink usage 2020-04-16 16:45:55 +00:00
tlsopts_test.go common: separate repository 2019-12-27 14:11:15 +02:00
uplink_config.go cmd/uplink: remove unused flag 2020-03-09 13:44:46 +00:00
uplink_test.go private/testplanet: migrate testplanet to new libuplink 2020-04-20 12:43:34 +00:00
uplink.go private/testplanet: migrate testplanet to new libuplink 2020-04-20 12:43:34 +00:00
versioning.go storj: remove storj/private/version package which was moved to 2020-03-24 14:31:33 +00:00