Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Aug 2, 2023
1 parent 402895f commit f620310
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions itests/kit/deals.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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")
dh.WaitDealSealed(ctx, deal, false, false, nil)
fmt.Printf("WAIT DEAL SEALEDS END\n")
Expand Down
2 changes: 1 addition & 1 deletion itests/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ func TestWorkerPledgeExpireCommit(t *testing.T) {
kit.ConstructorOpts(
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

ens.InterconnectAll().BeginMiningMustPost(2 * time.Millisecond)
Expand Down

0 comments on commit f620310

Please sign in to comment.