Skip to content

Commit

Permalink
GH-1512 Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Feb 8, 2024
1 parent bd9a93e commit 00a5615
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/transition_to_if.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
errorExit=Utils.errorExit

appArgs = AppArgs()
appArgs.add(flag="--plugin",action='append',type=str,help="Run nodes with additional plugins")

args=TestHelper.parse_args({"-d","-s","--keep-logs","--dump-error-details","-v","--leave-running","--unshared"},
applicationSpecificArgs=appArgs)
pnodes=4
Expand All @@ -41,13 +39,9 @@
Print(f'producing nodes: {pnodes}, topology: {topo}, delay between nodes launch: {delay} second{"s" if delay != 1 else ""}')

Print("Stand up cluster")
if args.plugin:
extraNodeosArgs = ''.join([i+j for i,j in zip([' --plugin '] * len(args.plugin), args.plugin)])
else:
extraNodeosArgs = ''
# For now do not load system contract as it does not support setfinalizer
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, prodCount=prod_count, topo=topo, delay=delay, loadSystemContract=False,
activateIF=False, extraNodeosArgs=extraNodeosArgs) is False:
activateIF=False) is False:
errorExit("Failed to stand up eos cluster.")

assert cluster.biosNode.getInfo(exitOnError=True)["head_block_producer"] != "eosio", "launch should have waited for production to change"
Expand Down

0 comments on commit 00a5615

Please sign in to comment.