storj/satellite/metabase/metabasetest
Michal Niewrzal eea3fac0d3 satellite/metabase: BeginObjectNextVersion returns object
We plan to replace metabase.BeginObjectExactVersion usage in
metainfo.BeginObject with metabase.BeginObjectNextVersion. To make this
switch as simple a possible would be nice to have the same results for
both methods. This change is extending return value for
BeginObjectNextVersion to whole object struct. Tests were also adjusted
to be more like metabase.BeginObjectExactVersion tests.

Part of https://github.com/storj/storj/issues/4871

Change-Id: I4db99d74af07e5a73757b55233e0bbdc7b99d565
2022-09-12 07:54:14 +00:00
..
common.go satellite/metabase/metabasetest: use interface for tests and benchmarks 2022-08-03 13:08:06 +00:00
create.go satellite/metabase/metabasetest: use interface for tests and benchmarks 2022-08-03 13:08:06 +00:00
defaults.go Revert "satellite/metabase: use storj.Nonce instead []byte" 2021-10-12 15:39:54 +02:00
invalid.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
run_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
run.go metabase: support disabling serverside copy when already enabled 2022-06-24 17:56:43 +00:00
test.go satellite/metabase: BeginObjectNextVersion returns object 2022-09-12 07:54:14 +00:00