Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-7141

Fix actuator configuration for ZeebeMetricsIT

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend, ci
    • None
    • Not defined

      NContext:

      ZeebeMetricsIT had to be disabled because the actuator endpoint doesn't seem to get configured correctly in IT. The IT can run locally when annotating the class with @TestPropertySource(properties = {"management.server.port=8092"}), but with this annotation it then fails on ci with:

      Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8090 is already in use

      when executing the beforeAll in the EmbeddedOptimizeExtension. We should find a solution that works both locally and on GHA. Note the metrics endpoints could be tested successfully when running Optimize in ccsm locally.

      Note that this appears to have been broken by this commit: https://github.com/camunda/camunda-optimize/pull/6085/files

      AT:

      • ZeebeMetricsIT can be run locally and on GHA/Jenkins

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: