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: faster TestNoCluster by batching the 3200 Puts #108

Merged
merged 2 commits into from
May 16, 2022

Conversation

MichaelMure
Copy link
Contributor

In normal condition, this makes no difference as the complete test is pretty fast (~200ms), but
as soon as sync is enabled, this commit cut down the duration from 14s to 7s, on a fast SSD.
When running on a slower file system, this make a significant difference.

In normal condition, this makes no difference as the complete test is pretty fast (~200ms), but
as soon as sync is enabled, this commit cut down the duration from 14s to 7s, on a fast SSD.
When running on a slower file system, this make a significant difference.
@MichaelMure
Copy link
Contributor Author

I did the same thing with TestQueryLeak for the same reason.

@Stebalien Stebalien merged commit cb01d7b into ipfs:master May 16, 2022
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.

2 participants