Create seperate application context for resilience tests

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.3.0-alpha1, 2.3.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      Context:
      The ObjectMapperFactoryTest autowires the objectmapper however, does not provide Elasticsearch. When the Elasticearch client is tried to be initialized it will try to reconnect forever. Therefore we need one application for the Resilience tests that will connect to elasticsearch and one for the ObjectMapperFactoryTest where the elasticsearch client is mocked.

      AT:

      • the backend unit tests run without any problems

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: