Fail test when Cinder volume deletion fails

This commit is contained in:
Jan Safranek 2020-09-23 14:41:29 +02:00
parent b003187053
commit 76254d88a5

View File

@ -1216,7 +1216,7 @@ func (v *cinderVolume) DeleteVolume() {
} else {
framework.Logf("Volume %s / %s:\n%s", id, name, string(showOutput))
}
framework.Logf("Giving up deleting volume %s / %s: %v\n%s", id, name, err, string(output[:]))
framework.Failf("Failed to delete pre-provisioned volume %s / %s: %v\n%s", id, name, err, string(output[:]))
}
// GCE