From 3b48a933325de5afbee5dfa5c932ab9e0e0bea6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Fri, 27 Jan 2023 21:33:07 +0000 Subject: [PATCH] drop unrequired params for interop tests --- multidim-interop/go/v0.22/main.go | 4 ++-- multidim-interop/go/v0.23/main.go | 4 ++-- multidim-interop/go/v0.24/main.go | 4 ++-- multidim-interop/src/generator.ts | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/multidim-interop/go/v0.22/main.go b/multidim-interop/go/v0.22/main.go index 8ab4f3a8f..b01361181 100644 --- a/multidim-interop/go/v0.22/main.go +++ b/multidim-interop/go/v0.22/main.go @@ -79,7 +79,7 @@ func main() { options = append(options, libp2p.Security(libp2ptls.ID, libp2ptls.New)) case "noise": options = append(options, libp2p.Security(noise.ID, noise.New)) - case "quic": + case "": default: panic("Unsupported secure channel") } @@ -89,7 +89,7 @@ func main() { options = append(options, libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport)) case "mplex": options = append(options, libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport)) - case "quic": + case "": default: panic("Unsupported muxer") } diff --git a/multidim-interop/go/v0.23/main.go b/multidim-interop/go/v0.23/main.go index 7768c6fd8..ea20f7ce2 100644 --- a/multidim-interop/go/v0.23/main.go +++ b/multidim-interop/go/v0.23/main.go @@ -83,7 +83,7 @@ func main() { options = append(options, libp2p.Security(libp2ptls.ID, libp2ptls.New)) case "noise": options = append(options, libp2p.Security(noise.ID, noise.New)) - case "quic": + case "": default: panic("Unsupported secure channel") } @@ -93,7 +93,7 @@ func main() { options = append(options, libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport)) case "mplex": options = append(options, libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport)) - case "quic": + case "": default: panic("Unsupported muxer") } diff --git a/multidim-interop/go/v0.24/main.go b/multidim-interop/go/v0.24/main.go index ae1640fc8..1f6631e29 100644 --- a/multidim-interop/go/v0.24/main.go +++ b/multidim-interop/go/v0.24/main.go @@ -86,7 +86,7 @@ func main() { options = append(options, libp2p.Security(libp2ptls.ID, libp2ptls.New)) case "noise": options = append(options, libp2p.Security(noise.ID, noise.New)) - case "quic": + case "": default: panic("Unsupported secure channel") } @@ -96,7 +96,7 @@ func main() { options = append(options, libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport)) case "mplex": options = append(options, libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport)) - case "quic": + case "": default: panic("Unsupported muxer") } diff --git a/multidim-interop/src/generator.ts b/multidim-interop/src/generator.ts index 6b29bf086..6e7479577 100644 --- a/multidim-interop/src/generator.ts +++ b/multidim-interop/src/generator.ts @@ -95,8 +95,8 @@ export async function buildTestSpecs(versions: Array): Promise buildSpec(containerImages, { @@ -104,8 +104,8 @@ export async function buildTestSpecs(versions: Array): Promise