Commit 195ad51
tazhate
fix(e2e): use correct ConfigMap name in E2E tests
Controller creates ConfigMaps as {name}-config (see reconcile_configmap.go:48),
but the test was looking for {name} without the suffix. Traced by reading
controller logs which showed StatefulSet and pod were created but ConfigMap
check failed after 120s — confirmed configmap name mismatch by reading
reconcile_configmap.go and reconcile_statefulset.go (both use node.Name+"-config").
Context: spent ~30min analyzing CI logs and controller reconcile order to
identify this naming mismatch. ConfigMap is created first in reconcile order,
StatefulSet references it as {name}-config, test was checking wrong name.1 parent fe3fff7 commit 195ad51
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
0 commit comments