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

HibernateSearchElasticsearch*TestCase tests fail if docker is not available

    XMLWordPrintable

Details

    • ---
    • ---

    Description

      HibernateSearchElasticsearch*TestCase tests rely on @BeforeClass and AssumeTestGroupUtil.assumeDockerAvailable to disable tests, but this doesn't work because ElasticsearchServerSetupObserver and the @Deployment methods get invoked before any @BeforeClass method. Initializing ElasticsearchServerSetupObserver fails.

      Fix is to use WFLY-16621 methods to disable the ElasticsearchServerSetupObserver and make the @Deployment methods return an empty war.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

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

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: