Skip to content

Commit

Permalink
Merge pull request #147 from soramitsu/scn/update_to_pre_rc_22.2
Browse files Browse the repository at this point in the history
update txs scn Signed-off-by: timofeevmd <[email protected]>
  • Loading branch information
timofeevmd authored Sep 10, 2024
2 parents 0d21dec + 2a9dc6b commit 980b5bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/test/java/scenarious/GeneralTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ public class GeneralTransaction {
.feed(csv("preconditionList.csv").circular())
.exec(Transactions.postRevertWorldViewMultiInstructions)
.exec(Transactions.postMultiInstructions);

public static ScenarioBuilder txsTransferAsset = scenario("transfer asset")
.feed(csv("preconditionList.csv").circular())
.exec(Transactions.postTransferAsset);
}
2 changes: 1 addition & 1 deletion src/test/java/simulation/PerformanceSimulation.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

public class PerformanceSimulation extends Simulation {
{
setUp(findAllAssetClientMode.injectOpen(LoadProfile.getMaxPerformanceOpenProfile()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration")));
setUp(txsTransferAsset.injectOpen(LoadProfile.getMaxPerformanceOpenProfile()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration")));
}
}

0 comments on commit 980b5bc

Please sign in to comment.