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

fix(e2e): reduce e2e flakiness when a deployment pod restarts #989

Closed TheSpiritXIII closed 5 months ago

TheSpiritXIII commented 5 months ago

Sometimes e2e tests fail if a deployment pod fails to startup, and restarts, or the GMP operator causes the pod to restart and we query the pod too quick.

The quick and easy fix is to only filter active pods.