address review
This commit is contained in:
parent
402895fdf0
commit
f620310bfe
@ -89,8 +89,6 @@ func NewDealHarness(t *testing.T, client *TestFullNode, main *TestMiner, market
|
|||||||
func (dh *DealHarness) MakeOnlineDeal(ctx context.Context, params MakeFullDealParams) (deal *cid.Cid, res *api.ImportRes, path string) {
|
func (dh *DealHarness) MakeOnlineDeal(ctx context.Context, params MakeFullDealParams) (deal *cid.Cid, res *api.ImportRes, path string) {
|
||||||
deal, res, path = dh.StartRandomDeal(ctx, params)
|
deal, res, path = dh.StartRandomDeal(ctx, params)
|
||||||
|
|
||||||
// TODO: this sleep is only necessary because deals don't immediately get logged in the dealstore, we should fix this
|
|
||||||
time.Sleep(time.Second)
|
|
||||||
fmt.Printf("WAIT DEAL SEALEDS START\n")
|
fmt.Printf("WAIT DEAL SEALEDS START\n")
|
||||||
dh.WaitDealSealed(ctx, deal, false, false, nil)
|
dh.WaitDealSealed(ctx, deal, false, false, nil)
|
||||||
fmt.Printf("WAIT DEAL SEALEDS END\n")
|
fmt.Printf("WAIT DEAL SEALEDS END\n")
|
||||||
|
@ -750,7 +750,7 @@ func TestWorkerPledgeExpireCommit(t *testing.T) {
|
|||||||
kit.ConstructorOpts(
|
kit.ConstructorOpts(
|
||||||
node.Override(new(*sealing.Sealing), modules.SealingPipeline(fc)),
|
node.Override(new(*sealing.Sealing), modules.SealingPipeline(fc)),
|
||||||
),
|
),
|
||||||
kit.SplitstoreDisable(), // enable splitstore because messages which take a long time may get dropped
|
kit.SplitstoreDisable(), // disable splitstore because messages which take a long time may get dropped
|
||||||
tasksNoC2) // no mock proofs
|
tasksNoC2) // no mock proofs
|
||||||
|
|
||||||
ens.InterconnectAll().BeginMiningMustPost(2 * time.Millisecond)
|
ens.InterconnectAll().BeginMiningMustPost(2 * time.Millisecond)
|
||||||
|
Loading…
Reference in New Issue
Block a user