Skip to content

Commit

Permalink
Fix spelling, word case, duplicate words in code comments only (#8987)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Apr 30, 2024
1 parent f41c934 commit db572f4
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 60 deletions.
6 changes: 3 additions & 3 deletions test/integration/component/test_ps_resize_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

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

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

# Setting up account and domain hierarchy
result = self.setupAccounts()
Expand Down
12 changes: 6 additions & 6 deletions test/integration/plugins/linstor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ This directory contains the basic VM, Volume life cycle tests for Linstor storag
===============
To run the basic volume tests, first update the below test data of the CloudStack environment

````
```
TestData.zoneId: <id of zone>
TestData.clusterId: <id of cluster>
TestData.domainId: <id of domain>
TestData.url: <management server IP>
TestData.primaryStorage "url": <Linstor storage pool url (see the format below) to use as primary storage>
````
```

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

````
```
TestData.migrationTests: True
TestData.primaryStorageSameInstance "url": <Linstor url (see the format below) of the pool on same storage cluster as TestData.primaryStorage>
TestData.primaryStorageDistinctInstance "url": <Linstor url (see the format below) of the pool not on the same storage cluster as TestData.primaryStorage>
````
```

Then run the tests using python unittest runner: nosetests

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

You can also run these tests out of the box with PyDev or PyCharm or whatever.
16 changes: 8 additions & 8 deletions test/integration/plugins/scaleio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ This directory contains the basic VM, Volume life cycle tests for PowerFlex/Scal
===============
To run the basic volume tests, first update the below test data of the CloudStack environment

````
```
TestData.zoneId: <id of zone>
TestData.clusterId: <id of cluster>
TestData.domainId: <id of domain>
TestData.url: <management server IP>
TestData.primaryStorage "url": <PowerFlex/ScaleIO storage pool url (see the format below) to use as primary storage>
````
```

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

````
```
TestData.migrationTests: True
TestData.primaryStorageSameInstance "url": <PowerFlex/ScaleIO storage pool url (see the format below) of the pool on same storage cluster as TestData.primaryStorage>
TestData.primaryStorageDistinctInstance "url": <PowerFlex/ScaleIO storage pool url (see the format below) of the pool not on the same storage cluster as TestData.primaryStorage>
````
```

PowerFlex/ScaleIO storage pool url format:

````
```
powerflex://<api_user>:<api_password>@<gateway>/<storagepool>
where,
Expand All @@ -35,12 +35,12 @@ powerflex://<api_user>:<api_password>@<gateway>/<storagepool>
For example: "powerflex://admin:P%40ssword123@10.10.2.130/cspool"
````
```

Then run the tests using python unittest runner: nosetests

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

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

0 comments on commit db572f4

Please sign in to comment.