fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

tests: fix broken test results #235

Closed adrianreber closed 6 years ago

adrianreber commented 6 years ago

The container setup to run the tests on centos-7 fedora-rawhide and fedora-latest was using yum to install the packages on all systems as that made it possible to install all three test scenarios with one command. This no longer works as rich dependencies are not resolved by yum and thus the test environment could no longer be correctly set up.

This commit introduces a shell script to set up the container based on the ${DISTRO}.

Another change is to decrease the timeout for the timeout run_rsync test case.

Signed-off-by: Adrian Reber adrian@lisas.de

adrianreber commented 6 years ago

Thanks.