Commit e69a2ce
committed
test: verify Cell wiring in MultigresCluster controller
Updates the `Create: Full Cluster Creation with Templates` and `Create: Independent Templates (Topo vs Admin)` test cases in `multigrescluster_controller_test.go` to assert that child `Cell` resources are created with the correct `GlobalTopoServer.Address`.
This regression test ensures that the `getGlobalTopoRef` logic correctly resolves the Global TopoServer address from templates, preventing a previous issue where it would default to an empty string if no inline spec was provided.1 parent 035bc79 commit e69a2ce
File tree
1 file changed
+26
-1
lines changed- pkg/cluster-handler/controller/multigrescluster
1 file changed
+26
-1
lines changedLines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
164 | 178 | | |
165 | 179 | | |
166 | 180 | | |
| |||
210 | 224 | | |
211 | 225 | | |
212 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
213 | 238 | | |
214 | 239 | | |
215 | 240 | | |
| |||
0 commit comments