Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Jun 12, 2023
1 parent 44b8ff9 commit 0a372da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/tests/payment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func (s *PaymentTestSuite) updateParams(params paymenttypes.Params) {
// 5. wait a voting period and confirm that the proposal success.
s.T().Logf("voting period %s", *queryVoteParamsResp.Params.VotingPeriod)
time.Sleep(*queryVoteParamsResp.Params.VotingPeriod)
time.Sleep(1 * time.Second)
proposalRes, err := s.Client.GovQueryClientV1.Proposal(ctx, queryProposal)
s.Require().NoError(err)
s.Require().Equal(proposalRes.Proposal.Status, govtypesv1.ProposalStatus_PROPOSAL_STATUS_PASSED)
Expand Down Expand Up @@ -401,7 +402,7 @@ func (s *PaymentTestSuite) TestVersionedParams_DeleteObjectAfterReserveTimeChang
}
}

queryHeadObjectResponse, err = s.Client.HeadObject(ctx, &queryHeadObjectRequest)
_, err = s.Client.HeadObject(ctx, &queryHeadObjectRequest)
s.Require().ErrorContains(err, "No such object")

// revert params
Expand Down

0 comments on commit 0a372da

Please sign in to comment.