storj/storage/cockroachkv
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
..
schema private/tagsql,storage: fixes to context cancellation 2020-01-20 15:44:39 +02:00
client_test.go private/dbutil/pgtest: support multiple databases for testing 2020-04-28 21:55:49 +03:00
client.go satellite/metainfo: add MigrateToLatest to PointerDB 2020-04-28 17:26:35 +00:00
common.go storage/cockroachkv: initial client implementation 2019-12-05 16:11:23 +00:00
ordered_iterator.go storage/{cockroachkv,postgreskv}: detailed monitoring for list 2020-02-12 10:55:07 +00:00