Kewpie option matrix

Registered by Valentine Gostev

Testing various products and modules may require to specify custom options we will need to pass to applications or tests.
Examples of such options: wsrep-provider, xtrabackup-path.

The idea is to develop a set of methods which will allow to accept custom options while starting kewpie. Options which were not predefined previously in kewpie code, and store options' names and values as dictionary.

It may look like option --opt-matrix="option1=value1,option2=value2".

TODO list:
1. Add --opt-matrix option, read its value, parse and keep as dictionary.
2. Add custom option evaluation method, available in tests. This method should test if option was provided and raise exception if not, providing a message which option was missed
3. Optionally if we need a large list of options we may add --opt-matrix-file and keep list of options and their values there

Blueprint information

Status:
Complete
Approver:
Patrick Crews
Priority:
Undefined
Drafter:
Valentine Gostev
Direction:
Approved
Assignee:
Valentine Gostev
Definition:
Approved
Series goal:
Proposed for trunk
Implementation:
Implemented
Milestone target:
None
Started by
Valentine Gostev
Completed by
Valentine Gostev

Sprints

Whiteboard

Candidates for matrix transition:

--randgen-seed
--innobackupex-path
--xtrabackup-path
--tar4ibd-patр
--wsrep-provider-path
--cluster-cnf

Documentation:
kewpie help should provide the list of supported test options for --opt-matrix option.

NOTES:
code looks good. Only remaining step suggested is to remove the aforementioned variables. I would leave randgen-seed out of the mix as it is intended to be more of an on-the-fly toggle for the user, but the other options are fine candidates for removal / work with --opt-matrix

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.