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

Fix E2E test mysql docker cleanup #169

Open
FelberMartin opened this issue Nov 29, 2024 · 0 comments
Open

Fix E2E test mysql docker cleanup #169

FelberMartin opened this issue Nov 29, 2024 · 0 comments
Labels
chore House keeping; non-functional, non-visual changes

Comments

@FelberMartin
Copy link
Collaborator

Description

There seems to be a problem related to the docker files, where the mysql database is not reset properly. This causes the newly created courses by DashboardE2eTest to pile up and causes the server to take very long to return all the courses. This results in a timeout when calling /api/courses/for-dashboard.

This behaviour can be both observed locally and on the github runners.

Maybe related: Sometimes when running the E2E tests on github, they fail because of the mysql docker container complaining that port 3306 is already in use, even though we added an extra cleanup step to the e2e-test.yml job file that should kill everything still running on 3306.

Next steps

@FelberMartin FelberMartin added the chore House keeping; non-functional, non-visual changes label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore House keeping; non-functional, non-visual changes
Projects
None yet
Development

No branches or pull requests

1 participant