Skip to content

Commit db572f4

Browse files
authored
Fix spelling, word case, duplicate words in code comments only (#8987)
1 parent f41c934 commit db572f4

File tree

4 files changed

+58
-60
lines changed

4 files changed

+58
-60
lines changed

test/integration/component/test_ps_resize_volume.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
""" P1 tests for testing resize volume functionality with primary storage
19-
imit constraints on account/domain
19+
limit constraints on account/domain
2020
2121
Test Plan: https://cwiki.apache.org/confluence/display/CLOUDSTACK/
2222
Limit+Resources+to+domain+or+accounts
@@ -254,7 +254,7 @@ def test_02_increase_volume_size_above_account_limit(self):
254254
# 3. Deploy a VM without any disk offering (only root disk)
255255
# 4. Create a volume of 5 GB in the account and attach it to the VM
256256
# 5. Try to (resize) the volume to 20 GB
257-
# 6. Resize opearation should fail"""
257+
# 6. Resize operation should fail"""
258258

259259
# Setting up account and domain hierarchy
260260
result = self.setupAccounts()
@@ -318,7 +318,7 @@ def test_03_increase_volume_size_above_domain_limit(self):
318318
# 3. Deploy a VM without any disk offering (only root disk)
319319
# 4. Create a volume of 5 GB in the account and attach it to the VM
320320
# 5. Try to (resize) the volume to 20 GB
321-
# 6. Resize opearation should fail"""
321+
# 6. Resize operation should fail"""
322322

323323
# Setting up account and domain hierarchy
324324
result = self.setupAccounts()

test/integration/plugins/linstor/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ This directory contains the basic VM, Volume life cycle tests for Linstor storag
66
===============
77
To run the basic volume tests, first update the below test data of the CloudStack environment
88

9-
````
9+
```
1010
TestData.zoneId: <id of zone>
1111
TestData.clusterId: <id of cluster>
1212
TestData.domainId: <id of domain>
1313
TestData.url: <management server IP>
1414
TestData.primaryStorage "url": <Linstor storage pool url (see the format below) to use as primary storage>
15-
````
15+
```
1616

1717
and to enable and run volume migration tests, update the below test data
1818

19-
````
19+
```
2020
TestData.migrationTests: True
2121
TestData.primaryStorageSameInstance "url": <Linstor url (see the format below) of the pool on same storage cluster as TestData.primaryStorage>
2222
TestData.primaryStorageDistinctInstance "url": <Linstor url (see the format below) of the pool not on the same storage cluster as TestData.primaryStorage>
23-
````
23+
```
2424

2525
Then run the tests using python unittest runner: nosetests
2626

27-
````
27+
```
2828
nosetests --with-marvin --marvin-config=<marvin-cfg-file> <cloudstack-dir>/test/integration/plugins/linstor/test_linstor_volumes.py --zone=<zone> --hypervisor=kvm
29-
````
29+
```
3030

3131
You can also run these tests out of the box with PyDev or PyCharm or whatever.

test/integration/plugins/scaleio/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ This directory contains the basic VM, Volume life cycle tests for PowerFlex/Scal
66
===============
77
To run the basic volume tests, first update the below test data of the CloudStack environment
88

9-
````
9+
```
1010
TestData.zoneId: <id of zone>
1111
TestData.clusterId: <id of cluster>
1212
TestData.domainId: <id of domain>
1313
TestData.url: <management server IP>
1414
TestData.primaryStorage "url": <PowerFlex/ScaleIO storage pool url (see the format below) to use as primary storage>
15-
````
15+
```
1616

1717
and to enable and run volume migration tests, update the below test data
1818

19-
````
19+
```
2020
TestData.migrationTests: True
2121
TestData.primaryStorageSameInstance "url": <PowerFlex/ScaleIO storage pool url (see the format below) of the pool on same storage cluster as TestData.primaryStorage>
2222
TestData.primaryStorageDistinctInstance "url": <PowerFlex/ScaleIO storage pool url (see the format below) of the pool not on the same storage cluster as TestData.primaryStorage>
23-
````
23+
```
2424

2525
PowerFlex/ScaleIO storage pool url format:
2626

27-
````
27+
```
2828
powerflex://<api_user>:<api_password>@<gateway>/<storagepool>
2929
3030
where,
@@ -35,12 +35,12 @@ powerflex://<api_user>:<api_password>@<gateway>/<storagepool>
3535
3636
3737
For example: "powerflex://admin:P%[email protected]/cspool"
38-
````
38+
```
3939

4040
Then run the tests using python unittest runner: nosetests
4141

42-
````
42+
```
4343
nosetests --with-marvin --marvin-config=<marvin-cfg-file> <cloudstack-dir>/test/integration/plugins/scaleio/test_scaleio_volumes.py --zone=<zone> --hypervisor=kvm
44-
````
44+
```
4545

4646
You can also run these tests out of the box with PyDev or PyCharm or whatever.

0 commit comments

Comments
 (0)