Skip to content

Commit 6603021

Browse files
authored
Merge pull request #396 from VaultaFoundation/kayan_1.0_activateIF
[1.0] activate instant finality in integration tests
2 parents 2c5742d + 38ab7c6 commit 6603021

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/nodeos_eos_evm_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118

119119
Print("Stand up cluster")
120120
if cluster.launch(topo="bridge", pnodes=totalProducerNodes,
121-
totalNodes=totalNodes, totalProducers=totalProducers,
121+
totalNodes=totalNodes, totalProducers=totalProducers,activateIF=True,
122122
extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs) is False:
123123
Utils.cmdError("launcher")
124124
Utils.errorExit("Failed to stand up eos cluster.")

tests/nodeos_eos_evm_ws_test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def makeReservedEvmAddress(account):
228228
extraNodeosArgs="--contracts-console"
229229

230230
Print("Stand up cluster")
231-
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs, delay=5) is False:
231+
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs, activateIF=True, delay=5) is False:
232232
errorExit("Failed to stand up eos cluster.")
233233

234234
Print ("Wait for Cluster stabilization")

tests/nodeos_eos_evm_ws_test_fork.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ def makeReservedEvmAddress(account):
320320

321321
specificExtraNodeosArgs[2]="--plugin eosio::test_control_api_plugin"
322322

323-
extraNodeosArgs="--contracts-console"
323+
extraNodeosArgs="--contracts-console --production-pause-vote-timeout-ms 0"
324324

325325
Print("Stand up cluster")
326-
if cluster.launch(prodCount=2, pnodes=2, topo="bridge", totalNodes=3, extraNodeosArgs=extraNodeosArgs, totalProducers=3, specificExtraNodeosArgs=specificExtraNodeosArgs,delay=5) is False:
326+
if cluster.launch(prodCount=2, pnodes=2, topo="bridge", totalNodes=3, extraNodeosArgs=extraNodeosArgs, totalProducers=3, specificExtraNodeosArgs=specificExtraNodeosArgs,activateIF=True,delay=5) is False:
327327
errorExit("Failed to stand up eos cluster.")
328328

329329
Print ("Wait for Cluster stabilization")

0 commit comments

Comments
 (0)