Commit be40131
Add ConfigMap content assertions to vMCP telemetry integration tests (#4807)
Add ConfigMap content assertions to telemetry integration tests
Verify the vmcp-config ConfigMap contains the correct telemetry
settings from the referenced MCPTelemetryConfig: endpoint (with
https:// prefix stripped), tracing/metrics enabled flags, and that
the ConfigMap updates when the MCPTelemetryConfig endpoint changes.
This ensures the full data path is tested end-to-end: CRD spec →
converter → ConfigMap → telemetry config, not just status conditions.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0fb1b42 commit be40131
1 file changed
Lines changed: 49 additions & 0 deletions
File tree
- cmd/thv-operator/test-integration/virtualmcp
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
143 | 172 | | |
144 | 173 | | |
145 | 174 | | |
| |||
253 | 282 | | |
254 | 283 | | |
255 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
256 | 305 | | |
257 | 306 | | |
258 | 307 | | |
| |||
0 commit comments