forked from TrueCloudLab/frostfs-sdk-go
[#16] Fix TestHealthyReweight
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
edc1382178
commit
7a0128e6ff
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ func TestHealthyReweight(t *testing.T) {
|
||||||
p.lock.Unlock()
|
p.lock.Unlock()
|
||||||
|
|
||||||
updateNodesHealth(context.TODO(), p, options, buffer)
|
updateNodesHealth(context.TODO(), p, options, buffer)
|
||||||
|
p.sampler = NewSampler(weights, rand.NewSource(0))
|
||||||
|
|
||||||
connection0, _, err = p.Connection()
|
connection0, _, err = p.Connection()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
Loading…
Reference in a new issue