Azure/azure-linux-automation — pull request #21 by iamshital (2014-09-12 20:33:30+00:00)
Title: E2E Hot Add/Remove disk - Test Improvement.

1. [New] DoIOTest.py (Can perform all below I/O operations on multiple disks at once.)
a. Detect partitions on disk. (if no partitions found, go to step c)
b. Delete partitions if exists.
c. Create single partition
d. Format partition with ext4. (xfs will be added in next revision.)
e. Mount partition to folder.
f. Write 250MB file to disk. (Dynamic file sizes will be added in next revision.)
g. Verify and exit.
2. [New] RDFELibs.psm1
a. Added 2 new functions to perform I/O operations.
b. Extended current E2E test functions to support I/O operations.
3. [fix] All E2E hot Add/Remove tests : "Hot Remove" operation will not be performed if "Hot Add" was failed that scenario.