-
Notifications
You must be signed in to change notification settings - Fork 1
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
Failing unit test #60
Comments
At first looks like an "intermittent failure" possibly because of a failure to retrieve app_data at the given hash. Have you tried running the test locally? Because one would not expect to get None. |
Will try to do that. Btw, there is some "inconsistency" in the code, but i have no idea if this affects things. In that test, in some cases we use
and in some other cases we have Not sure if this |
max_retries is an optional field which defaults to ... something. Should be able to see this in the function signature. |
Right, indeed this defaults to 3, so probably it shouldn't affect things. I ran the tests locally and i am observing the same error as the one reported above. |
Is it possible that someone has purged the old data? I always thought IPFS was immutable/permanent storage. |
AFAIK the only guaranteed way for data to stay available on IPFS is if you run your own node and pin the data you are interested in yourself. Otherwise people purge the data.
We could do that but I guess it would be nicer to find some other data that is still available on IPFS and replace the test. (Although that only delays the problem until we run our own IPFS node just for this purpose 😅) |
True, but that requires first understanding what the test is actually testing.... Might give it a shot at some point. |
These tests basically just assert that the python library is able to find a document stored on IPFS given the IPFS hash and that the found document matches your expected object. |
@fhenneke first pointed out that there is some test that is now failing. Since I am personally a bit ignorant about this, any help would be appreciated. One option would be to just remove this test. cc @bh2smith @MartinquaXD
`=================================== FAILURES ===================================
__________________________ TestIPFS.test_get_content ___________________________
self = <tests.unit.test_ipfs.TestIPFS testMethod=test_get_content>
The text was updated successfully, but these errors were encountered: