Skip to content
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

[4.0] Clean tmp and TestLogs after test runs #915

Merged
merged 10 commits into from
Mar 31, 2023

Conversation

ClaytonCalabrese
Copy link
Contributor

@ClaytonCalabrese ClaytonCalabrese commented Mar 28, 2023

This PR cleans up a number of tests that have been littering.

unittests/snapshot_tests.cpp was leaving tmp files around even on success

These tests were all leaving logs around in TestLogs even on on success:
tests/auto_bp_peering_test.py
tests/cli_test.py
tests/nodeos_contrl_c_test.py
tests/plugin_http_api_test.py
tests/trace_plugin_test.py
test/performance_test_basic (nonbasic also as a result)

unittests/restart_chain_tests.cpp had some old code that was unused, which had previously behaved similarly to temp_dir.

Additionally changed tests/TestHarness/WalletMgr.py to clean up the test wallets after test success.

Resolves: #719

@ClaytonCalabrese ClaytonCalabrese self-assigned this Mar 28, 2023
@heifner heifner added the OCI Work exclusive to OCI team label Mar 29, 2023
tests/auto_bp_peering_test.py Outdated Show resolved Hide resolved
tests/performance_tests/performance_test_basic.py Outdated Show resolved Hide resolved
tests/TestHarness/WalletMgr.py Outdated Show resolved Hide resolved
@ClaytonCalabrese ClaytonCalabrese merged commit f3993e1 into release/4.0 Mar 31, 2023
@ClaytonCalabrese ClaytonCalabrese deleted the clean_log_littering branch March 31, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants