gbench
gbench copied to clipboard
Cleanup gluster volumes
Every Test will require a cleanup :
We should check what volumes are created on the test-bed and delete those volumes and the brick directories associated with those volumes before we start a new test.
This is the most common task that every test will require.
Why should each test cleanup the volume and hence recreate it for the next test? IOW, what is the need to request for the same?
Also, when you say test, what is the granularity of test you are reffering to? Doe is include all tests in an bench test for example, or a single iteration of each test within that example bench test?
FWIW, the bench test has options to cleanup pre/between iterations/post a test, so data created by a test can be cleaned up and the options are named cleanup_*
in the BT definition.