Skip to content
Snippets Groups Projects
Commit 7ecd5cc3 authored by xiaohua guan's avatar xiaohua guan Committed by Yas Naoi
Browse files

Issue #3012183 by Xiaohua Guan, yas: Resolve the error "IOPS cannot be set...

Issue #3012183 by Xiaohua Guan, yas: Resolve the error "IOPS cannot be set unless volume type is Provisioned IOPS SSD" in volume simpletest
parent a5a8e726
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,7 @@ class VolumeTest extends AwsCloudTestCase {
unset($edit[$i]['availability_zone']);
unset($edit[$i]['iops']);
unset($edit[$i]['encrypted']);
unset($edit[$i]['volume_type']);
$this->drupalPostForm("/clouds/aws_cloud/$cloud_context/volume/$num/edit",
$edit[$i],
......@@ -177,6 +178,7 @@ class VolumeTest extends AwsCloudTestCase {
'availability_zone' => "us-west-$num",
'iops' => $num * 1000,
'encrypted' => $num % 2,
'volume_type' => 'io1',
];
}
return $data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment