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

Create test for pinning one million files #3275

Closed
whyrusleeping opened this issue Sep 30, 2016 · 1 comment
Closed

Create test for pinning one million files #3275

whyrusleeping opened this issue Sep 30, 2016 · 1 comment
Labels
kind/test Testing work

Comments

@whyrusleeping
Copy link
Member

To help detect and prevent issues like #3273, we should create a test that doesnt necessarily have to run in CI, but that we can run whenever affected code is touched.

Simply, all we need to do is create 1,000,000 unique files, and add each of them. After each add we should check that we have the correct number of pinned files, and at the end, make sure that the entire pinset looks correct.

We have smaller tests like this, but never ramped up the numbers this high due to perf issues with ipfs itself.

@whyrusleeping whyrusleeping added the kind/test Testing work label Sep 30, 2016
@whyrusleeping whyrusleeping added the status/ready Ready to be worked label Nov 28, 2016
@whyrusleeping
Copy link
Member Author

This exists as test/sharness/x0601-pin-fail-test.sh

@whyrusleeping whyrusleeping removed the status/ready Ready to be worked label Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/test Testing work
Projects
None yet
Development

No branches or pull requests

1 participant