Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-3122

Add a new test tenant in ephemeral properties for edge-orders

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • None
    • DevOps Sprint 113
    • FOLIO DevOps

    Description

      Purpose/Overview:

      Karate integration tests normally use random names for tenants to avoid collisions. For edge modules, tests rely on authentication specified in ephemeral.properties which cannot be random. We can still limit risks of collisions by using separate test tenants for each edge module, and avoid using diku or diku_admin.

      For edge-orders, we would need the following changes to ephemeral.properties:

      • replace "tenants={{ tenant }},test_oaipmh" by "tenants={{ tenant }},test_oaipmh,test_edge_orders"
      • add the following line at the end: "test_edge_orders=test-user,test"

      Note: another way to do this would be to define 10 or more tenants with a number at the end and let tests pick one randomly. This way we would not have to keep adding new tenants in this file for new edge modules, and it would still reduce the risk of collisions. AFAIK test_oaipmh is not currently used in mod-oai-pmh's integration tests.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                wayne Wayne Schneider
                damieng Damien Guillaume
                Damien Guillaume Damien Guillaume
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases