go-libp2p
go-libp2p copied to clipboard
Run interop tests across libp2p versions
When testing PRs, we should test the current branch against master (or the last release?) in an interop test to make sure we don't break backwards compatibility. We should be able to use the existing interop tests to do this.
Additionally, we should test this in all configurations:
- TCP, QUIC, WS.
- TCP+TLS, TCP+Noise
- TCP+Noise+Yamux, TCP+Noise+Mplex
Unfortunately, at a minimum that'll give us 5 test runs (which can luckily be done concurrently).
@Stebalien : to confirm, today we have interop tests that go between go-libp2p and js-libp2p and this is about adding some go-libp2p to go-libp2p with different configurations. You mentioned 5 test runs. To be clear, can you enumerate what the 5 combinations are?
Also, some pointers on where to make changes would be great (interop repo?)
Hm. Should have written that down. Probably:
- QUIC
- TCP+TLS+Yamux (go)
- TCP+Noise+Yamux (rust)
- TCP+Noise+Mplex (js/rust)
- WS+Noise+Mplex (js)
That should cover it.
Relates to https://github.com/libp2p/test-plans/pull/44
closing in favor of https://github.com/libp2p/test-plans/issues/61