Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-2147

DO378-62: GE Testing Microservices with Mock Frameworks not working as described

XMLWordPrintable

    • ILT, ROLE, VT

      URL:
      Reporter RHNID:
      Section: -
      Language: ||
      Workaround:

      Description: Database must be provided during runtime as Entitymanager is not used but created and started during tests.

      A postgres-container is started during lab-start "silently" (this is also not mentioned in the lab description afaik).

      This is actually needed for the tests to work as they are set up. This is not mentioned in the SG. In the "application.properties" there is even a comment saying "# ... we are not actually needing the database resource".

      This is misleading and wrong in the way the test is built!

      To reproduce this the database must be stopped before ("sudo podman rm -fa").

            rht-psolarvi Pablo Solar
            ghilling Gunnar Hilling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: