GoogleCloudPlatform / prometheus-engine

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

[E2E refactor - 8] remove unnecessary e2e test files #752

Closed pintohutch closed 9 months ago

pintohutch commented 10 months ago

I decided to break out the kind E2E test refactor PR https://github.com/GoogleCloudPlatform/prometheus-engine/pull/738 into smaller, digestible PRs for reviewing.

Note: because of the nature of the change, presubmits (i.e. Github Actions) may fail until the final PR is merged.

This is the eighth one, where we remove the operator_context and webhook tests. Webhook testing is done implicitly as part of e2e testing (webhooks must be working correctly for scraping, etc to work) and the operatorContext stuct is no longer used.