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 7, 2024
1 parent fb45cbf commit dd74745
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e/tests/payment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2291,11 +2291,15 @@ 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
err = s.deleteBucket(user, bucketName)
s.Require().Error(err)
}

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

0 comments on commit dd74745

Please sign in to comment.