Repository navigation
Commit eec4098
committed
fix(tests): keep two unit tests green after the release image restamp
The release build rewrites packages/*/values.yaml: the kube-ovn image tag
becomes the Cozystack version (v1.7.0-rc.3, v1.7.0) and the traces
collector becomes the first-party otelcol-tracing build. Two unit tests
read exactly those fields, so every PR against release-1.7 has failed
Unit & controller tests since the first rc:
- hack/cni-plugins-staging-contract.bats compared the multus marker with
the values.yaml tag. It now reads appVersion from the vendored kube-ovn
chart, which is what packages/system/kubeovn/Makefile builds from and
what a release build leaves alone.
- vtraces_collector_test.yaml accepted only the upstream collector image
name. The assertion is about the digest pin; it now accepts the
first-party image name too.
main is unaffected until its own release line is cut; the same patch
applies there.
Assisted-by: LLM
Signed-off-by: Marian Koreniuk <[email protected]>
(cherry picked from commit 5d70c35)1 parent d32092a commit eec4098
2 files changed
Lines changed: 9 additions & 6 deletions
File tree
- hack
- packages/system/monitoring/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
350 | | - | |
351 | | - | |
352 | | - | |
| 353 | + | |
| 354 | + | |
353 | 355 | | |
354 | 356 | | |
355 | 357 | | |
356 | | - | |
| 358 | + | |
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
| 484 | + | |
0 commit comments