Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: DB - Add mount to place test databases in unique folder#91

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

bryphe-coder
Copy link
Contributor

@kylecarbs and I were observing some flakes when running the tests backed by postgres. We noticed that the postgres image sets up a volume:https://github.com/docker-library/postgres/blob/a83005b407ee6d810413500d8a041c957fb10cf0/11/alpine/Dockerfile#L155 and will use that location on the host as the default.

This change generates a random tempdir for the test and mounts that folder to the tempdir - hopefully avoiding collisions between parallel test runs.

@bryphe-coderbryphe-coder self-assigned thisJan 30, 2022
@bryphe-coder
Copy link
ContributorAuthor

Better fix in#89 !

@kylecarbskylecarbs deleted the bryphe/refactor/database-temp-dir branchMarch 23, 2022 16:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@bryphe-coder

[8]ページ先頭

©2009-2025 Movatter.jp