|
@@ -20,7 +20,10 @@ func TestCreateRAIDDevice(t *testing.T) {
|
|
|
//Format the drives
|
|
|
for _, partion := range raidDeviceIds {
|
|
|
fmt.Printf("Wiping partition: " + partion)
|
|
|
- manager.WipeDisk(partion)
|
|
|
+ err := manager.WipeDisk(partion)
|
|
|
+ if err != nil {
|
|
|
+ t.Errorf("Disk wipe error: %v", err)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// Call the function being tested
|