-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conversation
Not sure yet how to do this, lets first figure out what we are using for interop and benchmark tests. |
Think of this interop tests as 'unit interop tests', just making sure that the wire protocols are not mangled, that the flows are still intact, etc. These are here in order to help the development. The 'heavy interop tests', also known as stress tests will have their own repo -- https://github.com/ipfs/ipfs-interop-stress-tests --, and should be continuously testing everything. This will always run before any release. With regards to benchmark, it can be an afterthought. I would like to have some benchmarking happening ASAP, I'm afraid that ipfs-interop-stress-tests with benchmarks will take a while. Also, there are things that are benchmarks within a single implementation, like importing/exporting files, bitswap exchange blocks, etc. |
I think the simplest solution for that would be using: http://npmjs.com/ipfs-daemon to
|
51359cc
to
c1ad90f
Compare
@diasdavid I just pushed a set of basic interop tests for go and js (node). They pass fine with go-ipfs |
I've also added repo tests, but they are not passing, so there is some incompat here. With that, all the tests I proposed above are at least implemented. |
that is because go decided to use CIDS for repo keys now But as for the rest, <3 you are wonderful @dignifiedquire |
@dignifiedquire tests are failing in this PR (even with deps updated) silently:
Testing it locally yielded the same results |
…erged, so that tests pass now
I want to set up
interop
andbenchmark
tests that are run pre-release of js-ipfs (or any time a dev wants), while theunit
tests are run in the CI always.I also would love to make sure that
benchmark
tests produce something parseable (text or json) so that we can generate graphs in the future and thataegir-release
adds them to abenchmarks
folder with the date and hour of the release, so that we can graph it evolving over time.This is the first step towards a more robust implementation js-ipfs. The second step will be 'mad network topologies configurations' on https://github.com/ipfs/ipfs-interop-stress-tests.
@dignifiedquire what is the best way to achieve this with
aegir
, 'this' being:npm test
only running theunit
tests