mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-02-21 11:08:07 +00:00
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.
118 lines
3.6 KiB
TypeScript
118 lines
3.6 KiB
TypeScript
import gov025 from "./go/v0.25/image.json"
|
|
import gov024 from "./go/v0.24/image.json"
|
|
import gov023 from "./go/v0.23/image.json"
|
|
import gov022 from "./go/v0.22/image.json"
|
|
import rustv048 from "./rust/v0.48/image.json"
|
|
import rustv049 from "./rust/v0.49/image.json"
|
|
import rustv050 from "./rust/v0.50/image.json"
|
|
import rustv051 from "./rust/v0.51/image.json"
|
|
import jsV041 from "./js/v0.41/node-image.json"
|
|
import jsV042 from "./js/v0.42/node-image.json"
|
|
import nimv10 from "./nim/v1.0/image.json"
|
|
import chromiumJsV041 from "./js/v0.41/chromium-image.json"
|
|
import chromiumJsV042 from "./js/v0.42/chromium-image.json"
|
|
|
|
export type Version = {
|
|
id: string,
|
|
containerImageID: string,
|
|
// If defined, this will increase the timeout for tests using this version
|
|
timeoutSecs?: number,
|
|
transports: Array<(string | { name: string, onlyDial: boolean })>,
|
|
secureChannels: string[],
|
|
muxers: string[]
|
|
}
|
|
|
|
export const versions: Array<Version> = [
|
|
{
|
|
id: "rust-v0.48.0",
|
|
containerImageID: rustv048.imageID,
|
|
transports: ["ws", "tcp"],
|
|
secureChannels: ["noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "rust-v0.49.0",
|
|
containerImageID: rustv049.imageID,
|
|
transports: ["ws", "tcp"],
|
|
secureChannels: ["noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "rust-v0.50.0",
|
|
containerImageID: rustv050.imageID,
|
|
transports: ["ws", "tcp", "quic-v1"],
|
|
secureChannels: ["tls", "noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "rust-v0.51.0",
|
|
containerImageID: rustv051.imageID,
|
|
transports: ["ws", "tcp", "quic-v1"],
|
|
secureChannels: ["tls", "noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "js-v0.41.0",
|
|
containerImageID: jsV041.imageID,
|
|
transports: ["tcp", "ws"],
|
|
secureChannels: ["noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "js-v0.42.0",
|
|
containerImageID: jsV042.imageID,
|
|
transports: ["tcp", "ws", { name: "wss", onlyDial: true }],
|
|
secureChannels: ["noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "chromium-js-v0.41.0",
|
|
containerImageID: chromiumJsV041.imageID,
|
|
transports: [{ name: "webtransport", onlyDial: true }],
|
|
secureChannels: [],
|
|
muxers: []
|
|
},
|
|
{
|
|
id: "chromium-js-v0.42.0",
|
|
containerImageID: chromiumJsV042.imageID,
|
|
transports: [{ name: "webtransport", onlyDial: true }, { name: "wss", onlyDial: true }],
|
|
secureChannels: ["noise"],
|
|
muxers: ["mplex", "yamux"]
|
|
},
|
|
{
|
|
id: "go-v0.25.1",
|
|
containerImageID: gov025.imageID,
|
|
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
|
|
secureChannels: ["tls", "noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "go-v0.24.2",
|
|
containerImageID: gov024.imageID,
|
|
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport", "wss"],
|
|
secureChannels: ["tls", "noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "go-v0.23.4",
|
|
containerImageID: gov023.imageID,
|
|
transports: ["tcp", "ws", "quic"],
|
|
secureChannels: ["tls", "noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "go-v0.22.0",
|
|
containerImageID: gov022.imageID,
|
|
transports: ["tcp", "ws", "quic"],
|
|
secureChannels: ["tls", "noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
{
|
|
id: "nim-v1.0",
|
|
containerImageID: nimv10.imageID,
|
|
transports: ["tcp", "ws"],
|
|
secureChannels: ["noise"],
|
|
muxers: ["mplex", "yamux"],
|
|
},
|
|
]
|