From f31b08dbdd2cf8414f63afd8510182522cb51365 Mon Sep 17 00:00:00 2001 From: timofeevmd Date: Tue, 10 Sep 2024 15:29:59 +0400 Subject: [PATCH] update txs scn Signed-off-by: timofeevmd Signed-off-by: timofeevmd --- src/test/java/scenarious/GeneralTransaction.java | 4 ++++ src/test/java/simulation/PerformanceSimulation.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/scenarious/GeneralTransaction.java b/src/test/java/scenarious/GeneralTransaction.java index 48f4cf7..b2b1244 100644 --- a/src/test/java/scenarious/GeneralTransaction.java +++ b/src/test/java/scenarious/GeneralTransaction.java @@ -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); } diff --git a/src/test/java/simulation/PerformanceSimulation.java b/src/test/java/simulation/PerformanceSimulation.java index 4d76901..8680bca 100644 --- a/src/test/java/simulation/PerformanceSimulation.java +++ b/src/test/java/simulation/PerformanceSimulation.java @@ -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"))); } }