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

Enhance tests for files API root best-effort pin. #3151

Merged
merged 1 commit into from
Sep 3, 2016

Conversation

kevina
Copy link
Contributor

@kevina kevina commented Aug 30, 2016

License: MIT
Signed-off-by: Kevin Atkinson [email protected]

@Kubuxu Kubuxu added the status/in-progress In progress label Aug 30, 2016
@kevina kevina added this to the ipfs-0.4.3-rc4 milestone Aug 30, 2016
@whyrusleeping
Copy link
Member

Sweet, LGTM!

@jbenet wanna take a look here?

@whyrusleeping whyrusleeping added need/review Needs a review and removed status/in-progress In progress labels Aug 31, 2016

test_expect_success "add incomplete directory and make sure gc is okay" '
ipfs files cp /ipfs/$MYDIR_HASH /mydir &&
ipfs repo gc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would do ipfs cat $HELLO_HASH here too, just to be sure the thing is really gone and stays gone.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add.

@jbenet
Copy link
Member

jbenet commented Aug 31, 2016

Some comments above

@jbenet jbenet assigned kevina and unassigned jbenet Aug 31, 2016
License: MIT
Signed-off-by: Kevin Atkinson <[email protected]>
@kevina
Copy link
Contributor Author

kevina commented Aug 31, 2016

@jbenet thanks, I just amended my commit with your corrections.

Sorry about the missing "&&", I actually meant to review this one more time before removing the "in progress" label.

@jbenet jbenet mentioned this pull request Sep 1, 2016
58 tasks
@whyrusleeping
Copy link
Member

This LGTM. I would change a few stylistic things (like redirect the 'ipfs cat' calls either to dev/null, or check their output explicitly). But thats not a huge deal, and isnt really relevant to what we're testing here.

@whyrusleeping whyrusleeping merged commit 309535c into version/0.4.3-rc4 Sep 3, 2016
@whyrusleeping whyrusleeping deleted the kevina/more3138tests branch September 3, 2016 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/review Needs a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants