-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Moving LiteFullNodeTest test cases to plugins module #5380
Comments
Improving the efficiency of test cases sounds great. I feel that the current execution time of test cases is relatively long. May I ask, how much time can be saved by this operation? |
This saves about 3 minutes because the LiteFullNodeTest test cases are executed in parallel in the |
A Little curiours about why you want to seperate this LiteFullNodeTest test cases to other place? does it have any bad effects to current ? |
@mikeluxue |
Rationale
Since
LiteFullNode
function has been moved to theplugins
module asDbLite
, and the corresponding test cases should be grouped into theplugins
block. Moving test cases to theplugins
module also improves the efficiency of test case execution. The test cases in theframework
andplugins
modules run in parallel.Implementation
1. Adding dependencies
Add a dependency to the
build.gradle
of theplugins
module.2. Moving test cases around
Move the
org/tron/program/LiteFullNodeToolTest.java
test case from theframework
module to theplugins
module and rename it toorg/tron/plugins/DbLiteTest.java
.The text was updated successfully, but these errors were encountered: