[keycloak-dev] Why aren't tomcat and jetty tests run!?
Pavel Drozd
pdrozd at redhat.com
Tue Dec 13 03:17:09 EST 2016
Dne 12.12.2016 v 16:22 Bill Burke napsal(a):
>
> On 12/12/16 8:19 AM, Stian Thorgersen wrote:
>> Let's put this on hold for after 7.1 GA and make it a priority after that.
> We can't have tomcat and jetty adapters failing and regressions
> happening. There's a lot of people that depend on them. Our customer
> base comes from a successful community project. You don't start
> undercutting community just because its not supported in product. I'm
> adding them back to the build because its the right thing to do. I
> shouldn't have even asked and just did it, but I just found it quite
> annoying that they were removed as I knew they were removed on purpose.
>
>> We are going to use Arquillian bases tests and removing the old tests as
>> they have less value from a QE perspective.
> Negative. You are just 100% wrong on this. I've said this over and
> over and you just don't listen and its getting really annoying. There
> are many tests which it doesn't matter if they run in the container or
> not. Many tests it is not possible to even run as its impossible to set
> up the conditions you want to happen. Many tests are functional SPI
> tests and it doesn't matter at all if they run inside the app server or
> not and its much easier to setup and debug.
>
Running the tests in the container is crucial requirement for QE. We
have to run the tests against the container built by productization,
there is no other option here. We should be able to test RH-SSO/Keycloak
patches, RH-SSO/Keycloak with EAP CPs. There can be many errors which we
are not able to catch in embedded container.
If we will not able to collaborate on the tests and will not use the
shared approach, it will be a big step back in our effort to correctly
setup CI jobs for community and the product.
>> This has been discussed many
>> times now and we have agreed that this will be done a long time ago so
>> please let's not reiterate this discussion again and again. If dev and QE
>> are going to collaborate on the tests we need to share the approach and QE
>> has to have full functional tests.
> Discussed many times and I never agreed to anything. And kept telling
> you over and over that this mandate is uneccessary, hurtful to
> development, and is a lot of wasted effort, but you don't want to listen.
>
>> We need to resolve this issue though so we can get access to the
>> KeycloakSession from within certain tests. Ability to run adapter tests
>> from within the IDE is also a nice to have, but that may be harder to
>> achieve (and the effort may not be worth it, at least not for all adapters).
> There's a difference between unit tests, functional tests, and
> integration tests that you are missing. Everything is not an
> integration test. Its unacceptable for adapter tests to not be able to
> run in the IDE. If you want to have additional non-IDE runnable
> integration tests, that is fine, but to be able to develop new features
> and debug most problems, running in the IDE is a must and you're just
> being stubborn to state otherwise. Its quite annoying.
>
> Bill
> _______________________________________________
> 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