test(DbLite): add DbLiteTest test case by forfreeday · Pull Request #5481 · tronprotocol/java-tron

Conversation

@forfreeday

What does this PR do?

  1. add related dependencies
  2. add DbLiteTest test case
  3. modify LiteFullNodeTool and LiteFullNodeToolTest status to obsolete.

Why are these changes required?
to improve test case execution efficiency and shorten test case execution time.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

1. add related dependencies
2. add DbLiteTest test case
# Conflicts:
#	plugins/src/test/java/org/tron/plugins/DbLiteTest.java

@halibobo1205

Duplicates with this PR #5482 .

@forfreeday forfreeday changed the base branch from develop to release_v4.7.3

September 16, 2023 16:17

liukai added 4 commits

September 17, 2023 01:21

halibobo1205

compile 'io.github.tronprotocol:leveldbjni-all:1.18.2'
compile 'io.github.tronprotocol:leveldb:1.18.2'
compile project(":protocol")
testCompile project(":framework")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate configuration with lines 32, 33.

halibobo1205

}

private void run(Args argv) {
logger.info("LiteFullNodeTool is an obsolete tool and is not recommended"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LiteFullNodeTool is deprecated and it will be removed in the next major release, use Toolkit.jar db lite instead, parameters are fully compatible.

2 participants

@forfreeday @halibobo1205