| lkuchlan | a4a8404 | 2026-01-08 12:15:36 +0200 | [diff] [blame] | 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | Add ``run_concurrent_tasks`` helper function in ``tempest.common.concurrency`` |
| 5 | module to simplify writing concurrency tests for OpenStack services. This |
| 6 | utility uses multiprocessing to execute operations in parallel and collect |
| 7 | results in a shared list. It automatically handles process management, |
| 8 | exception collection, and cleanup. Tempest plugins can use this function |
| 9 | to test concurrent operations such as parallel volume creation, snapshot |
| 10 | creation, or server operations. The number of concurrent processes is |
| 11 | specified via the ``resource_count`` parameter, allowing plugins to pass |
| 12 | their service-specific configuration values (e.g., |
| 13 | ``CONF.volume.concurrent_resource_count`` for cinder, |
| 14 | ``CONF.share.concurrent_resource_count`` for manila). |