You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Note: Let's not spend too much effort on speeding up the tests. I just want to reach a baseline of performance where the tests are not timing out anymore (currently, tests time out for me on Ubuntu with a 3.30GHz processor)
Currently, we're doing some inefficient things in the tests that we can quickly fix to make the tests run a lot faster. Some suggestions from @dignifiedquire in IRC:
run go-ipfs in offline mode so it doesn't connect to the outside world
stop respawning the go-ipfs node on every test file. This has the downside of removing clearing the state of the daemon on every test file, but maybe we can do this another way?
run tests concurrently. Would speed up the general suite of tests but might make individual tests slower as many things are executed at the same time.
The text was updated successfully, but these errors were encountered:
run go-ipfs in offline mode so it doesn't connect to the outside world
go-ipfs is "offline" for what is worth, MDNS and Bootstrapping is off.
stop respawning the go-ipfs node on every test file. This has the downside of removing clearing the state of the daemon on every test file, but maybe we can do this another way?
We've been there. We moved to have tests self contained
This is quite important as we would love to run these tests on go-ipfs.
Re: go-ipfs init/startup: use ipfs init -p test which makes go-ipfs startup quite a bit faster.
I would say that if these tests were able to run on go-ipfs in less than 5 min it would be feasible to run them on every build but in the current state, I don't see how useful they would be due to a very slow build.
Note: Let's not spend too much effort on speeding up the tests. I just want to reach a baseline of performance where the tests are not timing out anymore (currently, tests time out for me on Ubuntu with a 3.30GHz processor)
Currently, we're doing some inefficient things in the tests that we can quickly fix to make the tests run a lot faster. Some suggestions from @dignifiedquire in IRC:
The text was updated successfully, but these errors were encountered: