Skip to content

Commit 10da024

Browse files
committed
fix building error due to a breakding change from core
Signed-off-by: Jing Zhang <[email protected]>
1 parent e005cab commit 10da024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ml-algorithms/src/test/java/org/opensearch/ml/engine/tools/CatIndexToolTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public void testRunAsyncIndexStats() throws Exception {
190190
ShardRouting routing = TestShardRouting.newShardRouting(shId, "node", true, ShardRoutingState.STARTED);
191191
CommonStats commonStats = new CommonStats(CommonStatsFlags.ALL);
192192
IndexStats fooStats = new IndexStatsBuilder(index.getName(), index.getUUID())
193-
.add(new ShardStats(routing, shardPath, commonStats, null, null, null))
193+
.add(new ShardStats(routing, shardPath, commonStats, null, null, null, null))
194194
.build();
195195
when(indicesStatsResponse.getIndices()).thenReturn(Map.of(indexName, fooStats));
196196

0 commit comments

Comments
 (0)