Commit 23c1e1d
committed
test: add e2e tests for cluster-health-analyzer operand
Validate that the Monitoring UIPlugin with ClusterHealthAnalyzer enabled
deploys the health-analyzer and correctly processes alerts into incident
metrics. The test creates a crashing pod, waits for the corresponding
PrometheusRule alert to fire, then verifies the cluster_health_components_map
metric is exposed with the expected labels.
Also extends the framework's AssertPromQLResult with configurable timeout
and poll interval options (AssertPromQLResultWithOptions).
Made-with: Cursor1 parent cbd6ba3 commit 23c1e1d
File tree
3 files changed
+393
-3
lines changed- test/e2e
- framework
3 files changed
+393
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
425 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
426 | 440 | | |
427 | 441 | | |
428 | 442 | | |
429 | 443 | | |
430 | | - | |
| 444 | + | |
431 | 445 | | |
432 | 446 | | |
433 | 447 | | |
| |||
0 commit comments