[#117] Update tests
All checks were successful
/ DCO (pull_request) Successful in 49s
/ Vulncheck (pull_request) Successful in 1m42s
/ Builds (1.21) (pull_request) Successful in 2m2s
/ Builds (1.22) (pull_request) Successful in 2m2s
/ Lint (pull_request) Successful in 3m40s
/ Tests (1.21) (pull_request) Successful in 2m22s
/ Tests (1.22) (pull_request) Successful in 1m6s

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
Alexey Vanin 2024-06-25 16:12:30 +03:00
parent e4d55df625
commit a62c8f0f5a
2 changed files with 2 additions and 0 deletions

View file

@ -54,6 +54,7 @@ func TestIntegration(t *testing.T) {
versions := []string{
"1.2.7",
"1.3.0",
"1.5.0",
}
key, err := keys.NewPrivateKeyFromHex("1dd37fba80fec4e6a6f13fd708d8dcb3b29def768017052f6c930fa1c5d90bbb")
require.NoError(t, err)

View file

@ -93,6 +93,7 @@ func (t *TestFrostFS) ReadObject(_ context.Context, prm PrmObjectRead) (*ObjectP
if prm.PayloadRange[0]+prm.PayloadRange[1] > 0 {
off := prm.PayloadRange[0]
payload = payload[off : off+prm.PayloadRange[1]]
obj = nil // GetRange does not return header values
}
return &ObjectPart{