storj/satellite/satellitedb
Egon Elbre 32afbd0d15 satellite/satellitedb: faster test database setup
Pregenerate the database schema we should use for most tests.
Currently, Cockroach is slow with regards to migration and it's
better if it happens in as few transactions as possible.

This reduces test time from ~21min to ~15min.

Change-Id: Ife8117053e6b9ecf3c93fe63677edf15d4d7c254
2021-02-22 21:13:00 +02:00
..
dbx satellite/satellitedb: add employee size column to users 2021-02-12 09:15:15 -05:00
satellitedbtest Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00
testdata satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
apikeys.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
attribution.go all: fix dots 2020-07-16 14:58:28 +00:00
audithistory.go satellite/{overlay, satellitedb}: Refactor audit history 2020-12-29 18:50:22 +00:00
bucketsdb.go satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
coinpaymentstxs.go satellite/satellitedb: Coinpayments repeat insert bug fix 2020-07-20 20:21:35 +00:00
compensation.go satellite/satellitedb: fix broken query 2021-02-04 16:00:51 -05:00
consoledb_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
consoledb.go satellite: remove referral program related code 2021-02-08 13:52:50 +00:00
containment.go all: fix dots 2020-07-16 14:58:28 +00:00
coupons.go all: fix dots 2020-07-16 14:58:28 +00:00
customers.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
database.go satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
gracefulexit.go cmd/satellite: Add command for GE data cleanup 2021-02-01 17:30:58 +00:00
invoiceprojectrecords.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
irreparabledb.go satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
migrate_gen.go satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
migrate_test.go satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
migrate.go satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
migratez.go satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
nodeapiversion.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
nodeselection.go Revert "satellite/satellitedb: Do not consider nodes with offline_suspended as reputable." 2021-01-04 14:28:37 +00:00
orders.go satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
overlaycache.go satellite/satellitedb: don't include DQd and exited nodes in DQStrayNodes 2021-02-19 15:12:30 -05:00
payouts.go satellite/satellitedb: add distributed column and migration 2021-02-01 16:33:14 +00:00
peeridentities.go all: fix dots 2020-07-16 14:58:28 +00:00
projectaccounting.go satellite/projectaccounting: Improve performance of ProjectAccounting.getBuckets 2021-02-03 14:05:12 +00:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
projects_test.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
projects.go satellite/console: Add pagination fields for ListProjectsByOwnerID 2021-01-20 16:15:29 +00:00
regtokens.go all: fix dots 2020-07-16 14:58:28 +00:00
repairqueue.go satellite/satellitedb: drop num_healthy_pieces column from injuredsegments 2020-12-17 20:17:08 +00:00
resetpasstokens.go all: fix dots 2020-07-16 14:58:28 +00:00
revocation.go all: fix dots 2020-07-16 14:58:28 +00:00
storagenodeaccounting.go satellite/accounting: add rollup archiver chore 2021-02-01 09:29:54 -05:00
stripecoinpaymentsdb.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
users_test.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
users.go satellite/satellitedb: add employee size column to users 2021-02-12 09:15:15 -05:00