Skip to content

Commit

Permalink
drop unrequired params for interop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs committed Jan 27, 2023
1 parent 5d55d99 commit 3b48a93
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions multidim-interop/go/v0.22/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand All @@ -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")
}
Expand Down
4 changes: 2 additions & 2 deletions multidim-interop/go/v0.23/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand All @@ -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")
}
Expand Down
4 changes: 2 additions & 2 deletions multidim-interop/go/v0.24/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand All @@ -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")
}
Expand Down
8 changes: 4 additions & 4 deletions multidim-interop/src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,17 @@ export async function buildTestSpecs(versions: Array<Version>): Promise<Array<Co
dialerID: test.id1,
listenerID: test.id2,
transport: test.transport,
muxer: "quic",
security: "quic",
muxer: "",
security: "",
})))
.concat(webrtcQueryResults
.map((test): ComposeSpecification => buildSpec(containerImages, {
name: `${test.id1} x ${test.id2} (${test.transport})`,
dialerID: test.id1,
listenerID: test.id2,
transport: test.transport,
muxer: "webrtc",
security: "webrtc",
muxer: "",
security: "",
})))

return testSpecs
Expand Down

0 comments on commit 3b48a93

Please sign in to comment.