gbench icon indicating copy to clipboard operation
gbench copied to clipboard

Cleanup gluster volumes

Open rkothiya opened this issue 5 years ago • 1 comments

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.

rkothiya avatar Mar 06 '19 10:03 rkothiya

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.

ShyamsundarR avatar Mar 06 '19 11:03 ShyamsundarR