use CollectGarbage in blockstore move test, as it is the real interface
This commit is contained in:
parent
b1f60e85e9
commit
21e7c188da
@ -154,7 +154,9 @@ func testMove(t *testing.T, optsF func(string) Options) {
|
|||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
g.Go(func() error {
|
g.Go(func() error {
|
||||||
return db.moveTo("")
|
return db.CollectGarbage(map[interface{}]interface{}{
|
||||||
|
blockstore.BlockstoreMovingGC: true,
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
err = g.Wait()
|
err = g.Wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user