From dd74745cf7f69f03d38a16f1c6aed9f6db851bd8 Mon Sep 17 00:00:00 2001 From: forcodedancing Date: Thu, 7 Nov 2024 10:52:25 -0600 Subject: [PATCH] try to fix e2e issue --- e2e/tests/payment_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e/tests/payment_test.go b/e2e/tests/payment_test.go index 157bc6074..358abc79e 100644 --- a/e2e/tests/payment_test.go +++ b/e2e/tests/payment_test.go @@ -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) {