-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace cleos local abi file test with test harness version. #735
Replace cleos local abi file test with test harness version. #735
Conversation
tests/cli_test.py
Outdated
os.mkdir(data_dir) | ||
walletMgr = WalletMgr(True) | ||
walletMgr.launch() | ||
node = Node('localhost', 8888, nodeId, cmd="./programs/nodeos/nodeos -e -p eosio --plugin eosio::trace_api_plugin --trace-no-abis --plugin eosio::producer_plugin --plugin eosio::producer_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::chain_plugin --plugin eosio::http_plugin --access-control-allow-origin=* --http-validate-host=false " + "--data-dir " + data_dir + " --config-dir " + data_dir, walletMgr=walletMgr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may need --resource-monitor-not-shutdown-on-threshold-exceeded
& its own config-dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added resource monitor flag. It has a specified config-dir
.
tests/cli_test.py
Outdated
Utils.Print("Cleanup nodeos data.") | ||
shutil.rmtree(data_dir) | ||
|
||
''' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to comment this out instead of removing it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot this was here after removing other commented code. Removed.
Replace the cleos local ABI file test with a version implemented using the test harness and actually execute it. The previous version was never executed by the test file.