GoogleCloudPlatform / prometheus-engine

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

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

Open TheSpiritXIII opened 2 months ago

TheSpiritXIII commented 2 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: