Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Thread tests not passing in pinning node #288

Open
msterle opened this issue Feb 4, 2020 · 0 comments
Open

Thread tests not passing in pinning node #288

msterle opened this issue Feb 4, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@msterle
Copy link
Contributor

msterle commented Feb 4, 2020

The two tests that check whether thread data has been correctly synced to the server and then back to a new client are currently failing, and are skipped. (see https://github.com/3box/3box-pinning-node/blob/develop/src/__tests__/pinning.test.js)

The root cause seems to be that the access controller db created is correctly synced from the test client to the pinning node, but when the pinning node tries to open it immediately after (as part of the , it sometimes hangs (~50%). This fails silently, and the only way it manifests itself is that the HAS_ENTRIES response isn't sent with the updated number of entries, which is why the tests are failing. This looks like it could be an issue within ipfs (or at least the setup used in the test); a test was put in to show how consecutive fetches to the access dag node can fail.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant