protocol / beyond-bitswap

Other
34 stars 9 forks source link

Wait for graphsync finish, preventing early node shutdown #20

Closed hannahhoward closed 3 years ago

hannahhoward commented 3 years ago

Goals

I had trouble initially getting graphsync tests to run -- because the leech node appeared to shutdown immediately. Then I noticed that the ipfs transfer test was making both nodes wait before they moved to the next file. So I added that to the graphsync test code and it appeared to fix the problem.

Implemenation

Make sure that all nodes on each testplan signal and wait for the others nodes to finish before going on to the next file in the test.