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

attempt to fix integration tests in CI #45

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

VoxBorealis
Copy link
Contributor

resolves #41

Mocha 4.0 version disabled the --exit flag by default, which leaves some tests hanging if there is a database connection still open. In our case the database connection is made before the tests are run and it's closed independently from the tests, so I don't see an issue with adding the --exit flag back.

@VoxBorealis
Copy link
Contributor Author

The integration tests don't work after all. Exit code 137 indicates that the docker container runs out of memory.

@VoxBorealis
Copy link
Contributor Author

After checking RAM usage in Actions with https://github.com/marketplace/actions/workflow-telemetry, no noticeable difference when running all tests or just one test, however in the latter case it doesn't crash. In any case RAM usage stays around 1GB and GitHub runners have 7GB of RAM allocated to them, of which all should be utilized by Docker by default.

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

Successfully merging this pull request may close these issues.

Fix integration tests not exiting cleanly
1 participant