Provide kwargs from UnitTest to stress test scenarios

Bug #1273186 reported by Julien Leloup
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Invalid
Wishlist
Emily Hugenbruch

Bug Description

At the moment, stress test implemented with the @stresstest decorator in scenarios scripts can only be configured using the tempest.conf configuration file, mostly withthe [scenario] section.

By launching these stress tests with the "run_stress.py" and providing a JSON configuration file, some parameters can be provided in kwargs but these parameters are only available in the "UnitTest" class.

I think it could be a good thing to transfer these kwargs from the UnitTest setUp() to the scenario implementing the stress test, during the setUpClass() call.

This will allows stress tests scenarios to use configuration from the JSON files instead of bloating the [scenario] section of the tempest.conf

Changed in tempest:
importance: Undecided → Wishlist
Changed in tempest:
status: New → Confirmed
Changed in tempest:
assignee: nobody → Emily Hugenbruch (ekhugen)
Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

The stress test framework is not part of Tempest anymore.

Changed in tempest:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.