Skip to content

Commit da32ad0

Browse files
committed
fix ut
Signed-off-by: Yupeng Fu <[email protected]>
1 parent 2ac89ef commit da32ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/opensearch/index/engine/IngestionEngineTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void testRecovery() throws IOException {
132132

133133
public void testPushAPIFailures() {
134134
assertThrows(IngestionEngineException.class, () -> ingestionEngine.index(Mockito.any(Engine.Index.class)));
135-
assertThrows(IngestionEngineException.class, () -> ingestionEngine.delete(Mockito.any(Engine.Index.class)));
135+
assertThrows(IngestionEngineException.class, () -> ingestionEngine.delete(Mockito.any(Engine.Delete.class)));
136136
}
137137

138138
public void testCreationFailure() throws IOException {

0 commit comments

Comments
 (0)