fix(versions): disable webrtc tests (#160)

This commit disables the WebRTC tests for rust-libp2p v0.50.0 and v0.51.0 and
chromium-js v0.41.0 and v0.42.0. Neither of these support the new
`/webrtc-direct` (see
https://github.com/multiformats/multiaddr/pull/150/#issuecomment-1468791586 for
context on rename).

The missing support is blocking https://github.com/libp2p/rust-libp2p/pull/3688
namely to upgrade to using `/webrtc-direct`. (Note that this is only blocking
CI. Users can already use `/webrtc-direct` with the latest released
rust-libp2p.)

We will backport `/webrtc-direct` support to the rust-libp2p `v0.51.0` interop
binary and then re-enable it here.

Instead of disabling the versions with missing support for `/webrtc-direct` we
could as well patch our interoperability test logic. For the sake of simplicity,
I am proposing simply disabling the versions for now.
This commit is contained in:
Max Inden 2023-04-04 13:10:30 +02:00 committed by GitHub
parent e08199551c
commit 134a8735d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,14 +40,14 @@ export const versions: Array<Version> = [
{ {
id: "rust-v0.50.0", id: "rust-v0.50.0",
containerImageID: rustv050.imageID, containerImageID: rustv050.imageID,
transports: ["ws", "tcp", "quic-v1", "webrtc"], transports: ["ws", "tcp", "quic-v1"],
secureChannels: ["tls", "noise"], secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"], muxers: ["mplex", "yamux"],
}, },
{ {
id: "rust-v0.51.0", id: "rust-v0.51.0",
containerImageID: rustv051.imageID, containerImageID: rustv051.imageID,
transports: ["ws", "tcp", "quic-v1", "webrtc"], transports: ["ws", "tcp", "quic-v1"],
secureChannels: ["tls", "noise"], secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"], muxers: ["mplex", "yamux"],
}, },
@ -68,14 +68,14 @@ export const versions: Array<Version> = [
{ {
id: "chromium-js-v0.41.0", id: "chromium-js-v0.41.0",
containerImageID: chromiumJsV041.imageID, containerImageID: chromiumJsV041.imageID,
transports: [{ name: "webtransport", onlyDial: true }, { name: "webrtc", onlyDial: true }], transports: [{ name: "webtransport", onlyDial: true }],
secureChannels: [], secureChannels: [],
muxers: [] muxers: []
}, },
{ {
id: "chromium-js-v0.42.0", id: "chromium-js-v0.42.0",
containerImageID: chromiumJsV042.imageID, containerImageID: chromiumJsV042.imageID,
transports: [{ name: "webtransport", onlyDial: true }, { name: "webrtc", onlyDial: true }, { name: "wss", onlyDial: true }], transports: [{ name: "webtransport", onlyDial: true }, { name: "wss", onlyDial: true }],
secureChannels: ["noise"], secureChannels: ["noise"],
muxers: ["mplex", "yamux"] muxers: ["mplex", "yamux"]
}, },