Actions
Feature #9828
openWorkunit accepting parameters <System level Test execution>
Status:
New
Priority:
High
Assignee:
-
Category:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
We have a requirement where we need to run multiple load of different depth levels,
the existing workunit feature does that, but it always run static shell scripts,
does workunit takes parameters for the shell scripts ?
For example:
If i have to run fio with different block size, run time, read/write/randomreadwrite
for different testcases, this will require multiple fio shell scripts to be written , can we
re-use the same script to accept parameters as a library.
Thanks,
Shambhu
Updated by Josh Durgin about 9 years ago
The workunit task already lets you use environment variables for this purpose. See e.g. https://github.com/ceph/ceph-qa-suite/blob/b277946848fc2b5f454a7c6ffd8fa2a359369102/suites/rbd/librbd/workloads/c_api_tests_with_object_map.yaml
Actions