Skip to content

Commit

Permalink
Merge pull request #750 from eosnetworkfoundation/cluster_trace_api_p…
Browse files Browse the repository at this point in the history
…lugin

[3.2] move trace api plugin activation out of tests and into cluster
  • Loading branch information
ClaytonCalabrese authored Aug 12, 2022
2 parents 6817911 + 63b6b55 commit 1f1243d
Show file tree
Hide file tree
Showing 36 changed files with 31 additions and 61 deletions.
4 changes: 3 additions & 1 deletion tests/Cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ def launch(self, pnodes=1, unstartedNodes=0, totalNodes=1, prodCount=1, topo="me
nodeosArgs += " --contracts-console"
if PFSetupPolicy.hasPreactivateFeature(pfSetupPolicy):
nodeosArgs += " --plugin eosio::producer_api_plugin"

nodeosArgs += " --plugin eosio::trace_api_plugin "
if extraNodeosArgs.find("--trace-rpc-abi") == -1:
nodeosArgs += " --trace-no-abis "
httpMaxResponseTimeSet = False
if specificExtraNodeosArgs is not None:
assert(isinstance(specificExtraNodeosArgs, dict))
Expand Down
3 changes: 1 addition & 2 deletions tests/block_log_retain_blocks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@
specificExtraNodeosArgs={}
specificExtraNodeosArgs[0]=f' --block-log-retain-blocks 0 '
specificExtraNodeosArgs[1]=f' --block-log-retain-blocks 10 '
extraNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis "

Print("Stand up cluster")
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs) is False:
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, specificExtraNodeosArgs=specificExtraNodeosArgs) is False:
errorExit("Failed to stand up eos cluster.")

Print ("Wait for Cluster stabilization")
Expand Down
3 changes: 1 addition & 2 deletions tests/block_log_util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ def verifyBlockLog(expected_block_num, trimmedBlockLog):
cluster.killall(allInstances=killAll)
cluster.cleanup()
Print("Stand up cluster")
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=pnodes, totalNodes=totalNodes, totalProducers=pnodes*prodCount, useBiosBootFile=False, extraNodeosArgs=traceNodeosArgs) is False:
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=pnodes, totalNodes=totalNodes, totalProducers=pnodes*prodCount, useBiosBootFile=False) is False:
Utils.errorExit("Failed to stand up eos cluster.")

Print("Validating system accounts after bootstrap")
Expand Down
2 changes: 1 addition & 1 deletion tests/compute_transaction_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
Print ("producing nodes: %s, non-producing nodes: %d, topology: %s, delay between nodes launch(seconds): %d" % (pnodes, total_nodes-pnodes, topo, delay))

Print("Stand up cluster")
extraNodeosArgs=" --http-max-response-time-ms 990000 --disable-subjective-api-billing false --plugin eosio::trace_api_plugin --trace-no-abis "
extraNodeosArgs=" --http-max-response-time-ms 990000 --disable-subjective-api-billing false "
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, topo=topo, delay=delay,extraNodeosArgs=extraNodeosArgs ) is False:
errorExit("Failed to stand up eos cluster.")

Expand Down
3 changes: 1 addition & 2 deletions tests/distributed-transactions-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
(pnodes, total_nodes-pnodes, topo, delay))

Print("Stand up cluster")
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, topo=topo, delay=delay, extraNodeosArgs=traceNodeosArgs) is False:
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, topo=topo, delay=delay) is False:
errorExit("Failed to stand up eos cluster.")

Print ("Wait for Cluster stabilization")
Expand Down
2 changes: 1 addition & 1 deletion tests/get_account_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
Print ("producing nodes: %s, non-producing nodes: %d, topology: %s, delay between nodes launch(seconds): %d" % (pnodes, total_nodes-pnodes, topo, delay))

Print("Stand up cluster")
extraNodeosArgs=" --http-max-response-time-ms 990000 --disable-subjective-api-billing false --plugin eosio::trace_api_plugin --trace-no-abis "
extraNodeosArgs=" --http-max-response-time-ms 990000 --disable-subjective-api-billing false "
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, topo=topo, delay=delay,extraNodeosArgs=extraNodeosArgs ) is False:
errorExit("Failed to stand up eos cluster.")

Expand Down
4 changes: 1 addition & 3 deletions tests/large-lib-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,13 @@ def relaunchNode(node: Node, chainArg="", skipGenesis=True, relaunchAssertMessag
specificExtraNodeosArgs[2]="--read-mode speculative "

Print("Stand up cluster")
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(
pnodes=pnodes,
totalNodes=total_nodes,
totalProducers=1,
useBiosBootFile=False,
topo="mesh",
specificExtraNodeosArgs=specificExtraNodeosArgs,
extraNodeosArgs=traceNodeosArgs) is False:
specificExtraNodeosArgs=specificExtraNodeosArgs) is False:
errorExit("Failed to stand up eos cluster.")

producingNode=cluster.getNode(0)
Expand Down
2 changes: 1 addition & 1 deletion tests/launcher_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
Print("Stand up cluster")
pnodes=4
abs_path = os.path.abspath(os.getcwd() + '/unittests/contracts/eosio.token/eosio.token.abi')
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-rpc-abi eosio.token=" + abs_path
traceNodeosArgs=" --trace-rpc-abi eosio.token=" + abs_path
if cluster.launch(pnodes=pnodes, totalNodes=pnodes, extraNodeosArgs=traceNodeosArgs) is False:
cmdError("launcher")
errorExit("Failed to stand up eos cluster.")
Expand Down
2 changes: 0 additions & 2 deletions tests/light_validation_sync_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@
TestHelper.printSystemInfo("BEGIN")
cluster.killall(allInstances=killAll)
cluster.cleanup()
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
assert cluster.launch(
pnodes=1,
prodCount=1,
totalProducers=1,
totalNodes=2,
useBiosBootFile=False,
loadSystemContract=False,
extraNodeosArgs=traceNodeosArgs,
specificExtraNodeosArgs={
1:"--validation-mode light"})

Expand Down
2 changes: 1 addition & 1 deletion tests/nested_container_multi_index_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def create_action(action, data, contract_account, usr):
(pnodes, total_nodes-pnodes, topo, delay))

Print("Stand up cluster")
if cluster.launch(pnodes=1, totalNodes=1, extraNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis ") is False:
if cluster.launch(pnodes=1, totalNodes=1) is False:
errorExit("Failed to stand up eos cluster.")

Print ("Wait for Cluster stabilization")
Expand Down
2 changes: 0 additions & 2 deletions tests/nodeos_chainbase_allocation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@
# The bootstrap process has created account_object and code_object (by uploading the bios contract),
# key_value_object (token creation), protocol_state_object (preactivation feature), and permission_object
# (automatically taken care by the automatically generated eosio account)
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
assert cluster.launch(
pnodes=1,
prodCount=1,
totalProducers=1,
totalNodes=2,
useBiosBootFile=False,
loadSystemContract=False,
extraNodeosArgs=traceNodeosArgs,
specificExtraNodeosArgs={
1:"--read-mode irreversible --plugin eosio::producer_api_plugin"})

Expand Down
3 changes: 1 addition & 2 deletions tests/nodeos_contrl_c_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
# producer nodes will be mapped to 0 through totalProducerNodes-1, so the number totalProducerNodes will be the non-producing node
specificExtraNodeosArgs[totalProducerNodes] = "--plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::http_plugin "
"--plugin eosio::txn_test_gen_plugin --plugin eosio::producer_api_plugin "
extraNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
extraNodeosArgs+= " --http-max-response-time-ms 990000"
extraNodeosArgs = " --http-max-response-time-ms 990000 "

# *** setup topogrophy ***

Expand Down
4 changes: 1 addition & 3 deletions tests/nodeos_extra_packed_data_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,12 @@
if pnodes > 3:
specificExtraNodeosArgs[pnodes - 2] = ""

traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(totalNodes=pnodes,
pnodes=pnodes,
dontBootstrap=dontBootstrap,
pfSetupPolicy=PFSetupPolicy.PREACTIVATE_FEATURE_ONLY,
specificExtraNodeosArgs=specificExtraNodeosArgs,
associatedNodeLabels=associatedNodeLabels,
extraNodeosArgs=traceNodeosArgs,) is False:
associatedNodeLabels=associatedNodeLabels) is False:
cmdError("launcher")
errorExit("Failed to stand up eos cluster.")
else:
Expand Down
3 changes: 1 addition & 2 deletions tests/nodeos_forked_chain_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def getMinHeadAndLib(prodNodes):
specificExtraNodeosArgs={}
# producer nodes will be mapped to 0 through totalProducerNodes-1, so the number totalProducerNodes will be the non-producing node
specificExtraNodeosArgs[totalProducerNodes]="--plugin eosio::test_control_api_plugin"
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "


# *** setup topogrophy ***
Expand All @@ -172,7 +171,7 @@ def getMinHeadAndLib(prodNodes):

if cluster.launch(prodCount=prodCount, topo="bridge", pnodes=totalProducerNodes,
totalNodes=totalNodes, totalProducers=totalProducers,
useBiosBootFile=False, specificExtraNodeosArgs=specificExtraNodeosArgs, extraNodeosArgs=traceNodeosArgs) is False:
useBiosBootFile=False, specificExtraNodeosArgs=specificExtraNodeosArgs) is False:
Utils.cmdError("launcher")
Utils.errorExit("Failed to stand up eos cluster.")
Print("Validating system accounts after bootstrap")
Expand Down
4 changes: 1 addition & 3 deletions tests/nodeos_high_transaction_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@
cluster.cleanup()
Print("Stand up cluster")

traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(pnodes=totalProducerNodes,
totalNodes=totalNodes, totalProducers=totalProducers,
useBiosBootFile=False,
extraNodeosArgs=traceNodeosArgs, topo="ring") is False:
useBiosBootFile=False, topo="ring") is False:
Utils.cmdError("launcher")
Utils.errorExit("Failed to stand up eos cluster.")

Expand Down
2 changes: 0 additions & 2 deletions tests/nodeos_irreversible_mode_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,13 @@ def relaunchNode(node: Node, chainArg="", addSwapFlags=None, relaunchAssertMessa
TestHelper.printSystemInfo("BEGIN")
cluster.killall(allInstances=killAll)
cluster.cleanup()
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
cluster.launch(
prodCount=numOfProducers,
totalProducers=numOfProducers,
totalNodes=totalNodes,
pnodes=1,
useBiosBootFile=False,
topo="mesh",
extraNodeosArgs=traceNodeosArgs,
specificExtraNodeosArgs={
0:"--enable-stale-production",
4:"--read-mode irreversible",
Expand Down
2 changes: 1 addition & 1 deletion tests/nodeos_multiple_version_protocol_feature_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def hasBlockBecomeIrr():
# version 1.7 did not provide a default value for "--last-block-time-offset-us" so this is needed to
# avoid dropping late blocks
assert cluster.launch(pnodes=4, totalNodes=4, prodCount=1, totalProducers=4,
extraNodeosArgs=" --plugin eosio::producer_api_plugin --plugin eosio::trace_api_plugin --trace-no-abis",
extraNodeosArgs=" --plugin eosio::producer_api_plugin ",
useBiosBootFile=False,
specificExtraNodeosArgs={
0:"--http-max-response-time-ms 990000",
Expand Down
3 changes: 1 addition & 2 deletions tests/nodeos_producer_watermark_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ def verifyProductionRounds(trans, node, prodsActive, rounds):
cluster.killall(allInstances=killAll)
cluster.cleanup()
Print("Stand up cluster")
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=totalNodes, totalNodes=totalNodes, totalProducers=totalNodes, useBiosBootFile=False, onlySetProds=True, sharedProducers=1, extraNodeosArgs=traceNodeosArgs) is False:
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=totalNodes, totalNodes=totalNodes, totalProducers=totalNodes, useBiosBootFile=False, onlySetProds=True, sharedProducers=1) is False:
Utils.cmdError("launcher")
Utils.errorExit("Failed to stand up eos cluster.")

Expand Down
2 changes: 0 additions & 2 deletions tests/nodeos_read_terminate_at_block_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ def checkHeadOrSpeculative(head, lib):
2 : "--read-mode speculative --terminate-at-block=550",
3 : "--read-mode head --terminate-at-block=850",
}
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "

# Kill any existing instances and launch cluster
TestHelper.printSystemInfo("BEGIN")
Expand All @@ -234,7 +233,6 @@ def checkHeadOrSpeculative(head, lib):
useBiosBootFile=False,
topo="mesh",
specificExtraNodeosArgs=specificNodeosArgs,
extraNodeosArgs=traceNodeosArgs
)

producingNodeId = 0
Expand Down
2 changes: 0 additions & 2 deletions tests/nodeos_retry_transaction_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,9 @@
}

# topo=ring all nodes are connected in a ring but also to the bios node
traceNodeosArgs=' --plugin eosio::trace_api_plugin --trace-no-abis '
if cluster.launch(pnodes=totalProducerNodes, totalNodes=totalNodes, totalProducers=totalProducers,
topo="ring",
specificExtraNodeosArgs=specificExtraNodeosArgs,
extraNodeosArgs=traceNodeosArgs,
useBiosBootFile=False) is False:
Utils.cmdError("launcher")
Utils.errorExit("Failed to stand up eos cluster.")
Expand Down
2 changes: 1 addition & 1 deletion tests/nodeos_run_remote_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
Print("Stand up cluster")

abs_path = os.path.abspath(os.getcwd() + '/unittests/contracts/eosio.token/eosio.token.abi')
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-rpc-abi eosio.token=" + abs_path
traceNodeosArgs = " --trace-rpc-abi eosio.token=" + abs_path
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, prodCount=prodCount, topo=topo, delay=delay, onlyBios=onlyBios, extraNodeosArgs=traceNodeosArgs) is False:
errorExit("Failed to stand up eos cluster.")

Expand Down
2 changes: 1 addition & 1 deletion tests/nodeos_run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
Print("Stand up cluster")

abs_path = os.path.abspath(os.getcwd() + '/unittests/contracts/eosio.token/eosio.token.abi')
traceNodeosArgs=" --http-max-response-time-ms 990000 --plugin eosio::trace_api_plugin --trace-rpc-abi eosio.token=" + abs_path
traceNodeosArgs=" --http-max-response-time-ms 990000 --trace-rpc-abi eosio.token=" + abs_path
if cluster.launch(prodCount=prodCount, onlyBios=onlyBios, dontBootstrap=dontBootstrap, extraNodeosArgs=traceNodeosArgs) is False:
cmdError("launcher")
errorExit("Failed to stand up eos cluster.")
Expand Down
3 changes: 1 addition & 2 deletions tests/nodeos_short_fork_take_over_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,14 @@ def getMinHeadAndLib(prodNodes):
specificExtraNodeosArgs={}
# producer nodes will be mapped to 0 through totalProducerNodes-1, so the number totalProducerNodes will be the non-producing node
specificExtraNodeosArgs[totalProducerNodes]="--plugin eosio::test_control_api_plugin"
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "


# *** setup topogrophy ***

# "bridge" shape connects defprocera through defproducerk (in node0) to each other and defproducerl through defproduceru (in node01)
# and the only connection between those 2 groups is through the bridge node
if cluster.launch(prodCount=2, topo="bridge", pnodes=totalProducerNodes,
totalNodes=totalNodes, totalProducers=totalProducers, extraNodeosArgs=traceNodeosArgs,
totalNodes=totalNodes, totalProducers=totalProducers,
useBiosBootFile=False, specificExtraNodeosArgs=specificExtraNodeosArgs, onlySetProds=True) is False:
Utils.cmdError("launcher")
Utils.errorExit("Failed to stand up eos cluster.")
Expand Down
3 changes: 1 addition & 2 deletions tests/nodeos_startup_catchup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@
txnGenNodeNum=pnodes # next node after producer nodes
for nodeNum in range(txnGenNodeNum, txnGenNodeNum+startedNonProdNodes):
specificExtraNodeosArgs[nodeNum]="--plugin eosio::txn_test_gen_plugin --txn-test-gen-account-prefix txntestacct"
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
Print("Stand up cluster")
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=pnodes, totalNodes=totalNodes, totalProducers=pnodes*prodCount,
useBiosBootFile=False, specificExtraNodeosArgs=specificExtraNodeosArgs, unstartedNodes=catchupCount, loadSystemContract=False, extraNodeosArgs=traceNodeosArgs) is False:
useBiosBootFile=False, specificExtraNodeosArgs=specificExtraNodeosArgs, unstartedNodes=catchupCount, loadSystemContract=False) is False:
Utils.errorExit("Failed to stand up eos cluster.")

Print("Validating system accounts after bootstrap")
Expand Down
2 changes: 1 addition & 1 deletion tests/nodeos_under_min_avail_ram.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
minRAMValue=1002
maxRAMFlag="--chain-state-db-size-mb"
maxRAMValue=1010
extraNodeosArgs=" %s %d %s %d --http-max-response-time-ms 990000 --plugin eosio::trace_api_plugin --trace-no-abis " % (minRAMFlag, minRAMValue, maxRAMFlag, maxRAMValue)
extraNodeosArgs=" %s %d %s %d --http-max-response-time-ms 990000 " % (minRAMFlag, minRAMValue, maxRAMFlag, maxRAMValue)
if cluster.launch(onlyBios=False, pnodes=totalNodes, totalNodes=totalNodes, totalProducers=totalNodes, extraNodeosArgs=extraNodeosArgs, useBiosBootFile=False) is False:
Utils.cmdError("launcher")
errorExit("Failed to stand up eos cluster.")
Expand Down
3 changes: 1 addition & 2 deletions tests/nodeos_voting_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ def verifyProductionRounds(trans, node, prodsActive, rounds):
cluster.killall(allInstances=killAll)
cluster.cleanup()
Print("Stand up cluster")
traceNodeosArgs = " --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=totalNodes, totalNodes=totalNodes, totalProducers=totalNodes*21, useBiosBootFile=False, extraNodeosArgs=traceNodeosArgs) is False:
if cluster.launch(prodCount=prodCount, onlyBios=False, pnodes=totalNodes, totalNodes=totalNodes, totalProducers=totalNodes*21, useBiosBootFile=False) is False:
Utils.cmdError("launcher")
Utils.errorExit("Failed to stand up eos cluster.")

Expand Down
2 changes: 1 addition & 1 deletion tests/p2p_high_latency_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def exec(cmd):
TestHelper.printSystemInfo("BEGIN")
cluster.killall(allInstances=killAll)
cluster.cleanup()
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis --plugin eosio::producer_plugin --produce-time-offset-us 0 --last-block-time-offset-us 0 --cpu-effort-percent 100 \
traceNodeosArgs=" --plugin eosio::producer_plugin --produce-time-offset-us 0 --last-block-time-offset-us 0 --cpu-effort-percent 100 \
--last-block-cpu-effort-percent 100 --producer-threads 1 --plugin eosio::net_plugin --net-threads 1"
if cluster.launch(pnodes=1, totalNodes=totalNodes, totalProducers=1, useBiosBootFile=False, specificExtraNodeosArgs=specificExtraNodeosArgs, extraNodeosArgs=traceNodeosArgs) is False:
Utils.cmdError("launcher")
Expand Down
3 changes: 1 addition & 2 deletions tests/prod_preactivation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@
cluster.killall(allInstances=killAll)
cluster.cleanup()
Print("Stand up cluster")
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(pnodes=prodCount, totalNodes=prodCount, prodCount=1, onlyBios=onlyBios,
dontBootstrap=dontBootstrap, useBiosBootFile=False,
pfSetupPolicy=PFSetupPolicy.NONE, extraNodeosArgs=" --plugin eosio::producer_api_plugin --http-max-response-time-ms 990000 " + traceNodeosArgs) is False:
pfSetupPolicy=PFSetupPolicy.NONE, extraNodeosArgs=" --plugin eosio::producer_api_plugin --http-max-response-time-ms 990000 ") is False:
cmdError("launcher")
errorExit("Failed to stand up eos cluster.")

Expand Down
3 changes: 1 addition & 2 deletions tests/restart-scenarios-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
pnodes, topo, delay, chainSyncStrategyStr))

Print("Stand up cluster")
traceNodeosArgs=" --plugin eosio::trace_api_plugin --trace-no-abis "
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, topo=topo, delay=delay, extraNodeosArgs=traceNodeosArgs) is False:
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, topo=topo, delay=delay) is False:
errorExit("Failed to stand up eos cluster.")

Print ("Wait for Cluster stabilization")
Expand Down
Loading

0 comments on commit 1f1243d

Please sign in to comment.