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
- has to be finished together with
-
EDGORDERS-6 End-to-end tests
-
- Closed
-
- relates to
-
FOLIO-3170 folio/snapshot Vagrant box build failing missing ebsconet.all permission
-
- Closed
-
-
FOLIO-2647 Add a new test tenant in ephemeral properties for edge-oai-pmh
-
- Closed
-