Skip to content

Commit

Permalink
try to fix e2e issue
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Nov 6, 2024
1 parent fb45cbf commit bc96c78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/tests/payment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2291,11 +2291,14 @@ func (s *PaymentTestSuite) TestDeposit_FrozenAccount_NetflowIsZero() {
s.Require().True(streamRecordsAfter.User.SettleTimestamp == 0)

// create bucket with quota again
_ = s.createBucket(sp, gvg, user, 100)
bucketName = s.createBucket(sp, gvg, user, 100)
streamRecordsAfter = s.getStreamRecords(streamAddresses)
s.Require().True(streamRecordsAfter.User.StaticBalance.LT(sdk.NewInt(1e18)))
s.Require().True(streamRecordsAfter.User.BufferBalance.GT(sdk.NewInt(0)))
s.Require().True(streamRecordsAfter.User.SettleTimestamp > 0)

// delete bucket
s.deleteBucket(user, bucketName)

Check failure on line 2301 in e2e/tests/payment_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.20.x, ubuntu-latest)

Error return value of `s.deleteBucket` is not checked (errcheck)
}

func TestPaymentTestSuite(t *testing.T) {
Expand Down

0 comments on commit bc96c78

Please sign in to comment.