Repository navigation
Commit ca893c1
CSTACKEX-286: Add resize coverage for pool limits, VMs and zone scope
Extend the ONTAP pool lifecycle and zone-scoped suites with resize cases
that were previously untested.
Pool lifecycle (both NFS3 and iSCSI), now 15 tests:
- test_03 rejects a grow past the 300 TiB ONTAP FlexVol maximum,
asserting ONTAP's autosize-maximum error so an unrelated failure
such as exhausted aggregate space cannot pass the test
- test_12 deploys a VM and attaches the volume before the negative
shrink, so the shrink is attempted against a volume in use
- test_14 grows and shrinks the pool while the VM holds the volume,
checking the VM stays running and keeps the volume across both
- test_13 asserts ONTAP's "too small to hold the current volume data"
wording rather than a broad keyword match
Zone-scoped pool (both protocols), now 6 tests:
- test_02 and test_03 grow and safely shrink the pool, verifying the
export policy (NFS3) and igroups (iSCSI) survive the resize
Shared VM discovery, teardown and volume helpers move to
OntapTestBase so both protocol suites reuse them, and a missing
enableStorageMaintenance import is added there.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 82d229f commit ca893c1
7 files changed
Lines changed: 1383 additions & 157 deletions
File tree
- test/integration/plugins/ontap
- iscsi/pool
- nfs3/pool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
Large diffs are not rendered by default.
0 commit comments