define rand name format and cleanup the irregular rand name
Tempest test cases have lots of rand name for test resources. Names are generated by helper function 'data_utils.
The good examples for rand name:
api/compute/
api/compute/
cls.__name__ + '-' + resource_type is a good format.
Benefit of using standard:
1. could help quickly find test resources of test class in log file
2. sometimes test data is not cleaned up after Tempest running. the standard name could help figure out which test cases does not cleanup test data.
3. make test resource name looks better in tempest code.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Giulio Fidente
Related branches
Related bugs
Sprints
Whiteboard
I've added the idea as a TODO item in https:/