[keycloak-dev] Integration tests for FreeIPA

Marek Posolda mposolda at redhat.com
Mon Sep 12 22:42:46 EDT 2016

Hi Bruno,

the question is if we really need FreeIPA on Travis CI? The thing is 
that Travis is currently just the CI for run "mvn clean install" when 
you send PR to find regressions early. However we have already lots of 
tests, which are not executed during default travis build. For example:
- Adapter tests in new testsuite.
- Tests with Keycloak on real Wildfly server (by default testsuite uses 
just embedded undertow)
- Test with other DBs than embedded H2
- Test with other LDAPs than embedded ApacheDS

IMO It's fine if FreeIPA tests are executed just when you run the build 
with some special maven profile. Hence we will have job on central CI, 
which will test FreeIPA on daily basis. However those tests won't be 
executed during default "mvn clean install" build and hence also not 
executed on travis during every build. So defacto approach 1 from what 
you mentioned.

But maybe it's just me :)


On 12/09/16 23:02, Bruno Oliveira wrote:
> Ahoy, this week I will start to look at the integration tests for
> FreeIPA/SSSD with Ilya from QE. He already started some work here[1].
> The tricky part for me is to spin up a FreeIPA server on Travis CI.
> For those not familiar with this environment, to run the
> integration tests, freeipa-server must be installed/configured.
> Unfortunately, Ubuntu Precise (the distro running on Travis)
> have only freeipa-client and python-freeipa[2].
> Some ideas to make this happen:
> 1. Do nothing and let people run the integration tests locally. This is not awesome.
> 2. Spin up a FreeIPA docker instance on Travis before the build, plus
> install and configure a freeipa-client. The downside is: more steps,
> more slowness on Travis.
> 3. Move the CI to our own server and have FreeIPA installed and
> configured.
> Ideas?
> [1] - https://github.com/abstractj/keycloak/commit/534569a9b6082a9674a33149519b06d1218d4807
> [2] - https://launchpad.net/ubuntu/precise/+source/freeipa
> --
> abstractj
> PGP: 0x84DC9914
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev

More information about the keycloak-dev mailing list