Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] Move tests to a postgres environment #488

Open
6 tasks
mpsonntag opened this issue Sep 23, 2019 · 0 comments
Open
6 tasks

[tests] Move tests to a postgres environment #488

mpsonntag opened this issue Sep 23, 2019 · 0 comments

Comments

@mpsonntag
Copy link
Contributor

Currently all tests are run using an h2 database. Unfortunately the h2 database sometimes behaves differently than the postgres database that is used in production, masking potential failures.

It would probably be best to gradually migrate to a postgres test environment and replace the h2 tests in the long run.

  • Set up a postgres test database, ideally using docker, since this is as close to the production setup as we can get. Set up one use case test within the postgres test tree.
  • Enable these tests on travis.
  • Ensure the GCA-Web docker build is still working.
  • Migrate the h2 tests to postgres tests.
  • When all h2 tests are migrated remove the h2 test tree.
  • Make sure the selenium tests work with the new test environment.
@mpsonntag mpsonntag changed the title [tests] Move all tests to a postgres environment [tests] Move tests to a postgres environment Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant