HSLdevcom / jore4

Public transport registry
European Union Public License 1.2
4 stars 2 forks source link

As a developer, I want to have our e2e testing to work, and in a reasonable time when running the tests locally #1685

Closed culka closed 6 months ago

culka commented 7 months ago

As a developer, I want to have our e2e testing to work in a reasonable time when running the tests locally. Currently the e2e tests take over 30 seconds per successful test. Additionally the e2e test database is not used in every test as it should be, namely by the timetables-api and jore4-tiamat services.

The services currently get their connection parameters from environment variables that are read from the secrets, but for running e2e tests they should only get them from env vars. This should be changed if it already is not so.

Steps to fix: