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 Flaky docker tests #55

Merged
merged 1 commit into from
May 16, 2021
Merged

Fix Flaky docker tests #55

merged 1 commit into from
May 16, 2021

Conversation

nroi
Copy link
Owner

@nroi nroi commented May 16, 2021

Fixes #27

It seems that the issue was caused by an overloaded file system: Copying
large amounts of data inside the docker containers would cause spikes in
IO usage which, in turn, caused freezes, which then caused test cases to
fail because we're using timeouts in Flexo.

Storing the packages in a tmpfs means that the files are stored in
RAM, not on disk. This is more of a workaround and it also has the
added disadvantage that running the test cases using docker now requires
substantial amounts of RAM. The test cases will most likely not run
successfully with less than 32 GB of RAM.

Fixes #27

It seems that the issue was caused by an overloaded file system: Copying
large amounts of data inside the docker containers would cause spikes in
IO usage which, in turn, caused freezes, which then caused test cases to
fail because we're using timeouts in Flexo.

Storing the packages in a tmpfs means that the files are stored in
RAM, not on disk. This is more of a workaround and it also has the
added disadvantage that running the test cases using docker now requires
substantial amounts of RAM. The test cases will most likely not run
successfully with less than 32 GB of RAM.
@nroi nroi merged commit 75bb3a8 into master May 16, 2021
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.

Flaky test cases in docker tests
1 participant