Skip to content

Commit

Permalink
test(plugins/dbLite): add test for merge function (#5603)
Browse files Browse the repository at this point in the history
  • Loading branch information
halibobo1205 authored Dec 27, 2023
1 parent 565aef5 commit a76e177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/src/test/java/org/tron/plugins/DbLiteTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ void testTools(String dbType, int checkpointVersion)
cli.execute(argsForSnapshot);
// start fullNode
startApp();
// produce transactions for 6 seconds
generateSomeTransactions(6);
// produce transactions
generateSomeTransactions(checkpointVersion == 1 ? 6 : 18);
// stop the node
shutdown();
// generate history
Expand All @@ -139,7 +139,7 @@ void testTools(String dbType, int checkpointVersion)
}
// start and validate the snapshot
startApp();
generateSomeTransactions(6);
generateSomeTransactions(checkpointVersion == 1 ? 18 : 6);
// stop the node
shutdown();
// merge history
Expand Down

0 comments on commit a76e177

Please sign in to comment.