storj/storage/postgreskv
paul cannon 94651921c3 storage/testsuite: pass ctx in to bulk setup methods
to make them cancelable. Also,

* rename BulkDelete->BulkDeleteAll

this leaves room for a new method `BulkDelete(items storage.Items)` that
does a bulk deletion of a specified list of items, as opposed to
deleting _everything_. such a method would be used in the
`cleanupItems()` function found in utils.go, because when individual
deletes are fairly slow, that step takes way too long during tests.

* use BulkDelete method if available

nothing currently provides `BulkDelete(items storage.Items) error`,
but we made use of it with the Bigtable testing and code, and may make
use of it again when adding new kv backends.

* and eliminate the global context in test_iterate.go

Change-Id: I171c7a3818beffbad969b131e98b9bbe3f324bf2
2019-12-10 20:22:08 +00:00
..
schema Make sed a little more cross platformable (#3629) 2019-11-22 11:17:02 -07:00
alternateclient_test.go storage/testsuite: pass ctx in to bulk setup methods 2019-12-10 20:22:08 +00:00
alternateclient.go storage/: remove reverse-key-listing feature 2019-11-12 18:47:51 +00:00
client_test.go storage/testsuite: pass ctx in to bulk setup methods 2019-12-10 20:22:08 +00:00
client.go private,satellite: unite all the "temp db schema" things 2019-12-05 15:36:59 +00:00
common.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00