Released in OTS 0.8.2.
Installation is made to OTS server.
1. Install Django environment
2. Install plug-in
sudo apt-get install python-ots-plugin-history
Fedora:
sudo yum install python-ots-plugin-history
3. Enable Django application
'ots.plugin.history'
5a. Restart apache
sudo service apache2 restart
5b. Restart OTS server
You can define maximum time and available device groups to OTS trigger with --options parameter:
ots_trigger -c optimized --options="target_execution_time:<integer> max_worker_amount:<integer>"
target_execution_time is the maximum execution time in minutes.
max_worker_amount is the maximum number of groups available for the testrun.
Example:
ots_trigger -t "test-package1-tests test-package2-tests test-package3-tests test-package4-tests" -c optimized --options="target_execution_time:120 max_worker_amount:4"
Let's assume that test-package1 takes 60min, test-package2 30min, test-package3 180min and test-package4 10min.
The history distribution model creates two execution groups: