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

Integration Test #88

Open
Tracked by #26
hannahhoward opened this issue Jun 25, 2022 · 0 comments
Open
Tracked by #26

Integration Test #88

hannahhoward opened this issue Jun 25, 2022 · 0 comments
Assignees

Comments

@hannahhoward
Copy link
Collaborator

hannahhoward commented Jun 25, 2022

An integration test of the flow of autoretrieve:

  • Bitswap node makes request to auto retrieve
  • Auto retrieve bitswap provider converts to filecoin retrieval
  • Pings an indexer node to find content
  • Fetches data via filecoin retrieval from a miner

The trick here will be properly setting up all the players, ideally using simple versions or mocked values for the services.

  • can use itests for Lotus miner
  • probably can manually construct libp2p + bitswap node and just pair it
  • not sure how to get the indexer but it's just an http endpoint so we could mock it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants