Commit 202c8ac
authored
fix: broken grafana tests (#2696)
## Description
- Fixes nightly EKS and HA k3d CI failures introduced by the Grafana 12
→ 13 upgrade (#2584)
- `validate namespace dashboard` and `validate loki dashboard` both
timed out waiting for template variable dropdown options to populate
- Grafana 13 lazy-loads variable values, which means clicking a dropdown
no longer reliably triggers the Prometheus query to populate options, so
tests waiting on `authservice-sidecar-test-app` to appear would time out
- Fix: after navigating to each dashboard, re-navigate with
`var-namespace` set directly in the URL; Grafana resolves explicit URL
params synchronously with no query required
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)
## Checklist before merging
- [x] Test, docs, adr added or updated as needed
- [x] [Contributor
Guide](https://github.com/defenseunicorns/uds-core/blob/main/CONTRIBUTING.md)
followed1 parent 0aaf351 commit 202c8ac
1 file changed
Lines changed: 16 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
| |||
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
104 | 98 | | |
105 | 99 | | |
106 | 100 | | |
| |||
0 commit comments