Docstrings for tempest scenario test 'sever basic operations' (test_server_basic_ops.py) is not fully appropriate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Wishlist
|
Ghanshyam Mann |
Bug Description
Tempest scenario test "sever basic operations" ("tempest/
"""
This smoke test case follows this basic set of operations:
* Create a keypair for use in launching an instance
* Create a security group to control network access in instance
* Add simple permissive rules to the security group
* Launch an instance
* Pause/unpause the instance
* Suspend/resume the instance
* Terminate the instance
"""
In above docstrings it specifie the operations performed under test case "sever basic operations" but in actual implementation, it doesn't cover below mentioned operations-
* Pause/unpause the instance
* Suspend/resume the instance
In actual implementation, test case "server basic operations" cover below tests/operations only-
1. Create a keypair for use in launching an instance
2. Create a security group to control network access in instance
3. Launch an instance
4. Obtaining floating IP to Instance
5. Verify ssh to instance
6. Terminate the instance
So, docstrings need to be updated because it is inappropriate and anyone can mislead(assume that it is covering operations/tests " Pause/unpause the instance" and " Suspend/resume the instance" too while it doesn't).
JFYI-
Test case "Suspend/resume the instance" cover under scenario test "Server Advanced Operations" (test_server_
summary: |
Operation specific comment inside tempest scenario test 'sever basic - operations'(test_server_basic_ops.py) is not fully appropriate + operations' (test_server_basic_ops.py) is not fully appropriate |
Changed in tempest: | |
assignee: | nobody → Ankur Gupta (ankur-gupta-v) |
summary: |
- Operation specific comment inside tempest scenario test 'sever basic - operations' (test_server_basic_ops.py) is not fully appropriate + Docstrings inside tempest scenario test 'sever basic operations' + (test_server_basic_ops.py) is not fully appropriate |
description: | updated |
summary: |
- Docstrings inside tempest scenario test 'sever basic operations' + Docstrings for tempest scenario test 'sever basic operations' (test_server_basic_ops.py) is not fully appropriate |
Changed in tempest: | |
assignee: | Ankur Gupta (ankur-gupta-v) → nobody |
Changed in tempest: | |
status: | New → Confirmed |
Changed in tempest: | |
status: | Confirmed → New |
Changed in tempest: | |
assignee: | nobody → Ankur Gupta (ankur-gupta-v) |
Changed in tempest: | |
importance: | Low → Wishlist |
Yes, doc string needs to be updated as those tests are covered in test_network_ advanced_ server_ ops.py & test_server_ advanced_ ops.py