Max Inden 465065cff8
fix(interop): use standaloneTransports as string instead of param (#219)
* fix(interop): use standaloneTransports as string instead of param

When generating the test specification (docker-compose file) we enumerate all
transport permutations. While some of our transports need to be upgraded (e.g.
TCP and WS) some don't (e.g. QUIC or WebRTC). To differentiate the two we
execute two SQL queries (`queryResults` and `standaloneTransportsQueryResults`),
each with either a `AND _ NOT IN` or `AND _ IN`.

The previous implementation would use `node-sqlite3` query parameters (see
https://github.com/TryGhost/node-sqlite3/wiki/API#runsql--param---callback) to
provide the list of transport protocols that don't need upgrading as an array.

The problem is that `node-sqlite3` does not support arrays as query parameters,
see https://github.com/TryGhost/node-sqlite3/issues/762.

This commit uses string interpolation instead to inject the list of standalone
transports into the SQL queries.

* Nit

---------

Co-authored-by: Marco Munizaga <git@marcopolo.io>
Co-authored-by: Marco Munizaga <marco@marcopolo.io>
2023-07-05 16:57:30 -07:00
2020-04-22 16:25:28 +01:00
2020-04-22 16:25:28 +01:00

Interoperabilty and end to end test-plans for libp2p

Interop Dashboard

Made by Protocol Labs

This repository contains interoperability and end to end tests for libp2p modules across different implementations and versions.

Specs

Please see our first specification for interoperability tests between transports, multiplexers, and secure channels here: Interoperability Test Specs

More specs to come soon!

History

These test-plans historically used Testground. To read why we're now using docker compose instead please see: Why we're moving away from Testground

Roadmap

Our roadmap for test-plans can be found here: https://github.com/libp2p/test-plans/blob/master/ROADMAP.md

It represents current projects the test-plans maintainers are focused on and provides an estimation of completion targets. It is complementary to those of go-libp2p, rust-libp2p, js-libp2p, and the overarching libp2p project roadmap.

License

Dual-licensed: MIT, Apache Software License v2, by way of the Permissive License Stack.

Description
Testground testplans for libp2p
Readme
Languages
TypeScript 60.2%
Go 14.7%
Makefile 10.9%
HCL 4.1%
Shell 2.5%
Other 7.6%