Commit d54e017
[controller] Stub normalizeSchemaForMigration in parent admin test mock
VeniceParentHelixAdmin#createStore and #addValueSchema now route value
schemas through VeniceHelixAdmin#normalizeSchemaForMigration. The internal
admin is a Mockito mock in TestVeniceParentHelixAdmin, so the unstubbed
method returned null and blanked out the value schema, producing NPEs
during admin-message serialization and strict schema parsing.
Mirror production's non-migration passthrough behavior by stubbing the
method to return its schema argument verbatim.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4008fa6 commit d54e017
1 file changed
Lines changed: 5 additions & 0 deletions
File tree
- services/venice-controller/src/test/java/com/linkedin/venice/controller
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
0 commit comments