forked from TrueCloudLab/frostfs-sdk-go
[#131] client: keep backwards-compatibility, update README.md, fix chore
Signed-off-by: Egor Olefirenko <egor.olefirenko892@gmail.com>
This commit is contained in:
parent
0d79d10482
commit
670619d242
3 changed files with 5 additions and 3 deletions
|
@ -67,6 +67,7 @@ func TestClient_NetMapSnapshot(t *testing.T) {
|
|||
var res *ResNetMapSnapshot
|
||||
var srv serverNetMap
|
||||
c := newClient(&srv)
|
||||
c.prm.DisableFrostFSFailuresResolution()
|
||||
ctx := context.Background()
|
||||
|
||||
// request signature
|
||||
|
@ -84,7 +85,6 @@ func TestClient_NetMapSnapshot(t *testing.T) {
|
|||
srv.signResponse = true
|
||||
|
||||
// status failure
|
||||
c.prm.DisableFrostFSFailuresResolution()
|
||||
res, err = c.NetMapSnapshot(ctx, prm)
|
||||
require.NoError(t, err)
|
||||
assertStatusErr(t, res)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue