Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-13703

Multiple errors: readiness and shutdown checks

    XMLWordPrintable

Details

    Description

      The existing readiness check (org.keycloak.testsuite.arquillian.containers.KeycloakQuarkusServerDeployableContainer#waitForReadiness) has proven to be unreliable on Quarkus, in part because REST endpoints are brought up before the actual startup has completed. This leads to multiple test errors.

      A prototype based on MicroProfile Health has shown much better results. As soon as MP Health support lands in Keycloak, the testsuite should be ported to MP Health too. Additionally, container.waitFor() should be added to the stop() method to avoid false positives in waitForReadiness().

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: KEYCLOAK

              People

                psilva@redhat.com Pedro Igor Craveiro
                dmitry.telegin Dmitry Telegin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: