fix piece provider test

This commit is contained in:
Anton Evangelatov 2021-06-08 14:57:45 +02:00
parent c0607a0e2a
commit 4dd093b160

View File

@ -193,7 +193,7 @@ func newPieceProviderTestHarness(t *testing.T, mgrConfig SealerConfig, sectorPro
wsts := statestore.New(namespace.Wrap(dstore, datastore.NewKey("/worker/calls")))
smsts := statestore.New(namespace.Wrap(dstore, datastore.NewKey("/stmgr/calls")))
mgr, err := New(ctx, localStore, remoteStore, storage, index, mgrConfig, wsts, smsts)
mgr, err := New(ctx, localStore, remoteStore, storage, index, mgrConfig, nil, wsts, smsts)
require.NoError(t, err)
// start a http server on the manager to serve sector file requests.