dignifiedquire / randor

Big Bad Tests for IPFS
2 stars 0 forks source link

pin some other objects #21

Open whyrusleeping opened 8 years ago

whyrusleeping commented 8 years ago

We should pin some objects created with the ipfs object commands, to test direct pinning, and maybe even recursive if we use patch add link to make a chain/dag

dignifiedquire commented 8 years ago

This already happens here (at least the creation and pinning part): https://github.com/dignifiedquire/randor/blob/master/lib/operations/pin-rm.js#L22-L28

whyrusleeping commented 8 years ago

yeah, i'm talking more about leaving them pinned.

Also, when randor finishes, does it re-validate every operation?

dignifiedquire commented 8 years ago

what do you mean with re-validate on finish?

whyrusleeping commented 8 years ago

like, after all N operations are performed and randor is about to exit, does it go back through and check that everything it did is still there and correct?

dignifiedquire commented 8 years ago

like, after all N operations are performed and randor is about to exit, does it go back through and check that everything it did is still there and correct?

No this kind of tracking does not happen atm.