Commit 240ae50
Fix StoresRoutesTest to pass StoreRequestHandler to constructor
The getRepushInfo route uses storeRequestHandler from the class field,
so tests need to pass the mocked handler to the StoresRoutes constructor.
Fixed both testGetRepushInfo and testGetRepushInfoWithoutFabric tests.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 8e4241b commit 240ae50
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- services/venice-controller/src/test/java/com/linkedin/venice/controller/server
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
| 707 | + | |
| 708 | + | |
708 | 709 | | |
709 | 710 | | |
710 | 711 | | |
| |||
755 | 756 | | |
756 | 757 | | |
757 | 758 | | |
758 | | - | |
| 759 | + | |
| 760 | + | |
759 | 761 | | |
760 | 762 | | |
761 | 763 | | |
| |||
0 commit comments