[keycloak-dev] ConcurrencyTest failures
Stian Thorgersen
sthorger at redhat.com
Tue Oct 3 00:22:43 EDT 2017
-1000 The tests needs fixing not ignoring. Can you create a JIRA for the
test that is unstable please?
On 2 October 2017 at 18:32, Marko Strukelj <mstrukel at redhat.com> wrote:
> I've been getting intermittent ConcurrencyTest failures.
>
> Tests in error:
>
> ConcurrencyTest.testAllConcurrently:57->concurrentTest:49->
> AbstractConcurrencyTest.run:53->AbstractConcurrencyTest.run:96
> » Runtime
>
>
>
> I'm unable to reliably replicate it but it never happens when running
> ConcurrencyTest alone (i.e. -Dtest=ConcurrencyTest) but always as part of
> full testsuite 30 mins into the run.
>
> I propose to add:
>
> static boolean runIntermittentlyFailingTests() {
> return "true".equals(System.getProperty("test.intermittent"));
> }
>
>
> in AbstractKeycloakTest.java and check at the beginning of
> ConcurrencyTest.java#testAllConcurrently():
>
> if (!runIntermittentlyFailingTests()) {
> System.out.println("TEST SKIPPED - This test currently suffers
> from intermittent failures. Use -Dtest.intermittent=true to run it.");
> return;
> }
> _______________________________________________
> 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