Skip to content

Commit

Permalink
Merge pull request #115 from soramitsu/update/genesis
Browse files Browse the repository at this point in the history
update genesis.json, added new scn, update previous scn
  • Loading branch information
RamilMus authored Jul 9, 2024
2 parents 9af89ca + 0fd75b3 commit 03f8b1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/test/java/scenarious/DefinitionId.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import static io.gatling.javaapi.core.CoreDsl.scenario;

public class DefinitionId {
public static ScenarioBuilder transferAsset = scenario("register definition id")
public static ScenarioBuilder definitionId = scenario("register definition id")
.feed(csv("preconditionList.csv").circular())
.exec(
Transactions.postRegisterDefinitionId
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/simulation/PerformanceSimulation.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import io.gatling.javaapi.core.Simulation;

import static Configs.Protocol.httpProtocol;
import static scenarious.GeneralQueries.generalQueries;
import static scenarious.HealthCheck.healthCheck;
import static scenarious.TransferAsset.transferAsset;
import static scenarious.GeneralQueries.*;
import static scenarious.HealthCheck.*;
import static scenarious.DefinitionId.*;

public class PerformanceSimulation extends Simulation {
{
setUp(transferAsset.injectOpen(LoadProfile.getMaxPerformance()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration")));
setUp(definitionId.injectOpen(LoadProfile.getMaxPerformance()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration")));
}
}
2 changes: 1 addition & 1 deletion src/test/resources/iroha2_config/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
{
"Executor": {
"Fuel": 18446744073709551615
"Fuel": 18446744073709551
}
},
{
Expand Down

0 comments on commit 03f8b1b

Please sign in to comment.