[Freeipa-devel] [PATCH 0372] CI: installation tests

Martin Basti mbasti at redhat.com
Sun Dec 6 21:22:32 UTC 2015


My favorite today \o/ --> 67 <-- \o/ test cases, no more manual testing 
of installers \o/.

Test suite contains: 6 combination how to install components on replica 
X 4 combinations of server installation + 3 extra server tests

To save time tests install 1 master and 3 replicas per test class 
(except extra server tests):
Class name  specifies what is installed on master.

Remember, option "-k" is your friend
$ ipa-run-tests -k '<name of class you want to test (it is regexp)>'
otherwise you will need a lot of time until tests finish.

To list all tests:
$ ipa-run-tests test_integration/test_installation.py --collect-only


Patch attached, it needs to have attached all patches I sent today and 
also attached workaround patch (Martin3 will provide proper fix)

I haven't had time/mood/resources to test this patch with domain level 
0, so testing this patch with domain level 0 is appreciated.


Oleg, I added some methods to tasks.py which you may want to reuse.

Martin^2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbasti-0372-CI-installation-tests.patch
Type: text/x-patch
Size: 7810 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151206/272d77e3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbasti-0000-CI-uninstall-WORKAROUND-DO-NOT-PUSH.patch
Type: text/x-patch
Size: 960 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151206/272d77e3/attachment-0001.bin>


More information about the Freeipa-devel mailing list