mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:56:29 +00:00
32 lines
809 B
Markdown
32 lines
809 B
Markdown
# Resource Limit Tests Template
|
|
|
|
Save as `DOCUMENT_DIR/tests/resource-limit-tests.md`.
|
|
|
|
---
|
|
|
|
```markdown
|
|
# Resource Limit Tests
|
|
|
|
### NFT-RES-LIM-01: [Test Name]
|
|
|
|
**Summary**: [What resource constraint this validates]
|
|
**Traces to**: AC-[ID], RESTRICT-[ID]
|
|
|
|
**Preconditions**:
|
|
- [System running under specified constraints]
|
|
|
|
**Monitoring**:
|
|
- [What resources to monitor — memory, CPU, GPU, disk, temperature]
|
|
|
|
**Duration**: [how long to run]
|
|
**Pass criteria**: [resource stays within limit — e.g., memory < 8GB throughout]
|
|
```
|
|
|
|
---
|
|
|
|
## Guidance Notes
|
|
|
|
- Resource limit tests must specify monitoring duration — short bursts don't prove sustained compliance.
|
|
- Define specific numeric limits that can be programmatically checked.
|
|
- Include both the monitoring method and the threshold in the pass criteria.
|