Project

Profile

Help

Locally

General(important)

Locally means not on server where exists jenkins job: http://maxscale-jenkins.mariadb.com:8090/view/All/job/run-inner-mdbci-parametrized-tests. Because creating libvirt config can crash because of similar domain names with preset machines by jib.

h2 Preconfigure original machines

ruby scripts/parametrized_testing/parametrized_testing_environment_setup.rb --start

Run tests

Next command must be executed in mdbci folder
Unit:

./scripts/run_unit_parametrized_tests.sh -t TEST_SET

Integration:
./scripts/run_integration_parametrized_tests.sh -t TEST_SET

TEST_SET - is a array of test names devided with comma.
Example of test name:
filename: test1_spec.rb
test name: test1

Example of test set: test1,test2

Clean up

ruby scripts/parametrized_testing/parametrized_testing_environment_setup.rb --remove

Continue in https://dev.osll.ru/projects/mdbci/wiki/General