Repository navigation
Commit a8a1ae2
committed
test(gateway): render two per-app listeners in the aliasing test
TestReconcile_ListenerAllowedRoutesNotAliased asserts that no two
rendered listeners share one AllowedRoutes struct, but its HTTP-01 case
published a single hostname. That branch renders per-app listeners one
per published hostname, so the loop emitted exactly one and no two
pointers could be equal: the assertion held whether or not the renderer
copied. Dropping the DeepCopy at that site left the whole suite green.
Publish two hostnames so the loop emits a pair. The same mutation now
fails, which is what the test claimed to do all along.
Assisted-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent ddc782f commit a8a1ae2
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2638 | 2638 | | |
2639 | 2639 | | |
2640 | 2640 | | |
2641 | | - | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
2642 | 2647 | | |
2643 | 2648 | | |
2644 | 2649 | | |
| |||
0 commit comments