-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#517 AccountDeleteIT #568
base: main
Are you sure you want to change the base?
#517 AccountDeleteIT #568
Conversation
…l4j into ag/517-account-delete-it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the submission, and happy to have you contributing @agutierrez0 !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I spoke too soon -- looks like there's a checkstyle issue in the build. Here's the error:
[WARN] /home/runner/work/xrpl4j/xrpl4j/xrpl4j-integration-tests/src/test/java/org/xrpl/xrpl4j/tests/AccountDeleteIT.java:278:5: Distance between
variable 'receiverAccount' declaration and its first usage is 4, but allowed 3. Consider
making that variable final if you still need to store its value in advance (before method
calls that might have side effects on the original value).
[VariableDeclarationUsageDistance]
@sappenin Hmm yeah I saw this error too earlier and pushed this commit to address it: ee7029d I'm not seeing any of the jobs fail and I am not able to reproduce the error when building locally, is there any way I could see which job threw the error? Not sure how to "re-run" the pipeline like with GitLab 😅 Thanks for taking the time to review |
Sure thing - you can see the jobs that get run here (see Actually, I think it doesn't like declaring the |
Sorry @agutierrez0, I missed this one -- just triggered a new build (see here). |
No problem & thanks @sappenin 👍🏽 , i see my build failed again but it has to do with |
Unclear, seems unlikely. I've kicked-off another build, so let's see what happens. I presume all ITs pass locally? |
thanks for the approve @nkramer44 👍🏽 i see that the build continues to fail. locally the ITs pass: is there anything i can do to address the issues in the pipeline build? |
@agutierrez0 It seems like the broken build isn't due to your changes, so I'm going to merge now and let's see what happens to the build on |
@sappenin , thanks for the help triaging this. @nkramer44 let me know that the I noticed everywhere else |
Sure thing - just approved it. |
Added integration tests for
AccountDelete
transaction. Closes #517tefTOO_BIG
, object submitted to the ledger would have been the same as other tests so wanted to avoid "testing the ledger" vs "testingAccountDelete
".getMinExpirationTime
function intoAbstractIT
as I used it when creating anEscrowCreate
transaction for thefinishAfter
parameter.DisabledIf
annotation to only run successful test on local rippled nodes, this was becauseAccountDelete
requires 256 ledgers to pass before being working successfully and I was using anXrplAdminClient
instance to accept the ledgers.acceptLedger
inRippleDContainer
/LocalRippledEnvironment
in order to accept ledger at the speed of code compared to the interval speed we set forLEDGER_ACCEPTOR
.First time contributing to open source code, open to any feedback 👍🏽