GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
196 stars 92 forks source link

test(e2e): detect local cluster for local e2e tests #1029

Open TheSpiritXIII opened 5 months ago

TheSpiritXIII commented 5 months ago

Reintroduces code from last year to detect the local cluster.

This allows you to run a single test locally, e.g. via go test or your IDE.

This is a minimal PR: