forked from TrueCloudLab/frostfs-node
[#135] get-object: Add tracing spans
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
5af9f58469
commit
0920d848d0
80 changed files with 523 additions and 231 deletions
|
@ -1,6 +1,7 @@
|
|||
package blobovnicza
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
@ -56,7 +57,7 @@ func TestBlobovnicza_Get(t *testing.T) {
|
|||
prmGet.SetAddress(addr)
|
||||
|
||||
checkObj := func() {
|
||||
res, err := blz.Get(prmGet)
|
||||
res, err := blz.Get(context.Background(), prmGet)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, obj, res.Object())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue