Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20497

Make OidcBaseTest more resistant to setup failures

      The various OidcBaseTest subclasses seem to be prone to setup failures in their KeycloakAndSystemPropertySetup setup methods, e.g.:

      https://ci.wildfly.org/project.html?projectId=WF_PullRequest&testNameId=5361795184351612013&tab=testDetails

      These fail in OidcBaseTest.setRealmCreationRequest, which at a glance seems to get called immediately after the KeycloakContainer starts.

      Under the theory that this is a matter of a small race, e.g. KeycloakContainer.start() returns before the Keycloak process is completely ready, let's try making this more robust by continuing to try for a period of time before failing.

      If this doesn't work it will be a sign that something more serious is wrong.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: