go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

Run interop tests across libp2p versions

Open Stebalien opened this issue 4 years ago • 2 comments

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 avatar May 20 '21 22:05 Stebalien

@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?)

BigLep avatar Aug 20 '21 15:08 BigLep

Hm. Should have written that down. Probably:

  1. QUIC
  2. TCP+TLS+Yamux (go)
  3. TCP+Noise+Yamux (rust)
  4. TCP+Noise+Mplex (js/rust)
  5. WS+Noise+Mplex (js)

That should cover it.

Stebalien avatar Aug 20 '21 16:08 Stebalien

Relates to https://github.com/libp2p/test-plans/pull/44

p-shahi avatar Oct 13 '22 05:10 p-shahi

closing in favor of https://github.com/libp2p/test-plans/issues/61

p-shahi avatar Nov 08 '22 02:11 p-shahi