Skip to content

Commit 713302f

Browse files
committed
test(plugins/dbLite): add test for merge function
1 parent be07f5c commit 713302f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/src/test/java/org/tron/plugins/DbLiteTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ void testTools(String dbType, int checkpointVersion)
117117
cli.execute(argsForSnapshot);
118118
// start fullNode
119119
startApp();
120-
// produce transactions for 6 seconds
121-
generateSomeTransactions(6);
120+
// produce transactions
121+
generateSomeTransactions(checkpointVersion == 1 ? 6 : 18);
122122
// stop the node
123123
shutdown();
124124
// generate history
@@ -139,7 +139,7 @@ void testTools(String dbType, int checkpointVersion)
139139
}
140140
// start and validate the snapshot
141141
startApp();
142-
generateSomeTransactions(6);
142+
generateSomeTransactions(checkpointVersion == 1 ? 18 : 6);
143143
// stop the node
144144
shutdown();
145145
// merge history

0 commit comments

Comments
 (0)