address another spot with the more certain mining fix
This commit is contained in:
parent
d0585ca7bb
commit
91bb559bdf
@ -419,13 +419,13 @@ func MockSbBuilder(t *testing.T, nFull int, storage []test.StorageMiner) ([]test
|
|||||||
var wait sync.Mutex
|
var wait sync.Mutex
|
||||||
wait.Lock()
|
wait.Lock()
|
||||||
|
|
||||||
_ = storers[0].MineOne(ctx, miner2.MineReq{Done: func(bool, error) {
|
test.MineUntilBlock(ctx, t, storers[0], func() {
|
||||||
wait.Unlock()
|
wait.Unlock()
|
||||||
}})
|
})
|
||||||
wait.Lock()
|
wait.Lock()
|
||||||
_ = storers[0].MineOne(ctx, miner2.MineReq{Done: func(bool, error) {
|
test.MineUntilBlock(ctx, t, storers[0], func() {
|
||||||
wait.Unlock()
|
wait.Unlock()
|
||||||
}})
|
})
|
||||||
wait.Lock()
|
wait.Lock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user