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

test(integration): run etcd in memory for kind #2548

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

swiatekm
Copy link

@swiatekm swiatekm commented Sep 29, 2022

Description

Etcd apparently does a lot of I/O on its storage, and this can be an issue in environments with slow disks, like CI runners. Put the storage in-memory instead.

This didn't really improve performance in testing, but I've recently seen some CI jobs fail due to etcd timing out, and I have hope that this will help.

See also: kubernetes-sigs/kind#845

@swiatekm swiatekm closed this Oct 3, 2022
@swiatekm swiatekm deleted the test/integration/inmemoryetcd branch October 3, 2022 12:22
@swiatekm swiatekm restored the test/integration/inmemoryetcd branch October 7, 2022 11:00
@swiatekm
Copy link
Author

swiatekm commented Oct 7, 2022

This didn't seem to make the tests faster, but maybe it'll make them more robust? We've had some etcd timeouts recently.

@swiatekm swiatekm reopened this Oct 7, 2022
@swiatekm swiatekm marked this pull request as ready for review October 7, 2022 11:04
@swiatekm swiatekm requested a review from a team as a code owner October 7, 2022 11:04
@sumo-drosiek
Copy link
Contributor

tests are failing 🙈

@swiatekm
Copy link
Author

tests are failing 🙈

Not anymore. But I think this is still a good change, even if tests needed a different fix.

@swiatekm swiatekm enabled auto-merge (rebase) October 11, 2022 11:58
@swiatekm swiatekm merged commit 017a41c into main Oct 11, 2022
@swiatekm swiatekm deleted the test/integration/inmemoryetcd branch October 11, 2022 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants