Rationale
Why should this feature exist?
Improve the efficiency of test case execution, moving test cases to plugins can reduce the execution time by about 3 minutes.
Implementation
Split into three steps:
- Change
LiteFullNodeTool and LiteFullNodeToolTest to deprecated and in the run method prompts: LiteFullNodeTool is an obsolete tool and is not recommended to be used any more, please use the tool DbLite
@Slf4j
@Deprecated
public class LiteFullNodeTool {
...
private void run(Args argv) {
logger.info("LiteFullNodeTool is an obsolete tool and is not recommended to be used any more, please use the tool DbLite.");
}
}
- Copy the
LiteFullNodeTest test case from the framework into the plugins module and name it DbLiteTest,path: org/tron/plugins/DbLiteTest.java
@Slf4j
public class DbLiteTest {
- The next release will remove
LiteFullNodeTest from the framework
Rationale
Why should this feature exist?
Improve the efficiency of test case execution, moving test cases to plugins can reduce the execution time by about 3 minutes.
Implementation
Split into three steps:
LiteFullNodeToolandLiteFullNodeToolTestto deprecated and in therunmethod prompts: LiteFullNodeTool is an obsolete tool and is not recommended to be used any more, please use the tool DbLiteLiteFullNodeTesttest case from theframeworkinto thepluginsmodule and name itDbLiteTest,path:org/tron/plugins/DbLiteTest.javaLiteFullNodeTestfrom theframework