cast cleanup
This commit is contained in:
parent
a22b7cf869
commit
e9f7c9c3ec
@ -785,7 +785,7 @@ func (n *Ensemble) Start() *Ensemble {
|
|||||||
n.t.Cleanup(func() { _ = stop(context.Background()) })
|
n.t.Cleanup(func() { _ = stop(context.Background()) })
|
||||||
mCopy := m
|
mCopy := m
|
||||||
n.t.Cleanup(func() {
|
n.t.Cleanup(func() {
|
||||||
mCopy.StorageMiner.(*impl.StorageMinerAPI).HarmonyDB.ITestDeleteAll()
|
mCopy.BaseAPI.(*impl.StorageMinerAPI).HarmonyDB.ITestDeleteAll()
|
||||||
})
|
})
|
||||||
|
|
||||||
m.BaseAPI = m.StorageMiner
|
m.BaseAPI = m.StorageMiner
|
||||||
|
Loading…
Reference in New Issue
Block a user