-
Alex Pyrgiotis authored
The attach/detach test is merged with the add/remove test. The test is the following: an extra disk is added in each instance and is given a random name. Once it has been added successfully, we detach it and check if the instance operates normally. Then, we pick instances randomly and attach a detached disk to them, using an algorithm that matches a disk to an instance based on its disk nodes. Finally, we remove the disk. Moreover, move the start/stop at the top of the tests, since the start/stop functionality is erroneously used first by other functions (e.g. rename) and then tested on its own. Finally, split the Burner class in subclasses for maintenance reasons and reduce the maximum number of class attributes from 20 to 19. Signed-off-by: Alex Pyrgiotis <apyrgio@grnet.gr> Signed-off-by: Aaron Karper <akarper@google.com> Reviewed-by: Aaron Karper <akarper@google.com>
a79b3f89