SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
Search solution to save all data collected by EnvironmentManager when regression is running so we can lower number of API calls performed by automated tests #10703
Currently EnvironmentManager.class is responsible to provide UUIDs and other data from API calls.
Try to refactor and convert it into a singleton in order to reduce the number of calls performed by automated tests during regression runs with multiple threads running in parallel.
What's even more important than making it a singleton is to make it cache the infrastructure data so that not every call to getDistrictUUID retrieves all districts from the server.
Currently EnvironmentManager.class is responsible to provide UUIDs and other data from API calls. Try to refactor and convert it into a singleton in order to reduce the number of calls performed by automated tests during regression runs with multiple threads running in parallel.