GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-nodejs-connector

Generate or build certs during tests

Offen
#392 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @hessjcg Auf GitHub ansehen
priority: p2 type: feature request
Vorherrschende Sprache
TypeScript
Sterne
97
Forks
16
Ø Merge
4 T. 16 Std.
Gemergte PRs (30 T.)
4

Beschreibung

In the other Cloud SQL Connector repos (Python, Java, Go) we generate/build certs for the tests as part of the tests themselves or test infra.

Node currently has certs that were generated once and are [saved (hardcoded) for tests](https://github.com/GoogleCloudPlatform/cloud-sql-nodejs-connector/blob/4e3f31bff33cc6de8a21ff61ca1c96703bb66dd5/test/fixtures/certs.ts). This is not scalable for different cert types (CAS-based CAS for example) and requires generating new certs and updating the hardcoded values.

Instead node should generate/build certs within its test infra as the other Connector libraries do.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.