Skip to content

Commit 0b47aba

Browse files
authored
SOLR-17620 Fix test failure for 9x by supplying hostContext (#3525)
1 parent 3a579df commit 0b47aba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

solr/core/src/test/org/apache/solr/cloud/ZkControllerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ public void testLiveNodeDataStored() throws Exception {
227227
try {
228228
server.run();
229229
CoreContainer cc = getCoreContainer();
230-
CloudConfig cloudConfig = new CloudConfig.CloudConfigBuilder("127.0.0.1", 8983).build();
230+
CloudConfig cloudConfig =
231+
new CloudConfig.CloudConfigBuilder("127.0.0.1", 8983, "/solr").build();
231232

232233
ZkController zkController = new ZkController(cc, server.getZkAddress(), 10000, cloudConfig);
233234

0 commit comments

Comments
 (0)