Skip to content

Commit 0e009c7

Browse files
authored
Fix typo
1 parent 035ae04 commit 0e009c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void testInferenceRunnerAlwaysFails() throws Exception {
104104
});
105105

106106
AtomicReference<Exception> exception = new AtomicReference<>();
107-
ActionListener<List<InferenceAction.Response>> listener = ActionListener.wrap(r -> fail("Expceted exception"), exception::set);
107+
ActionListener<List<InferenceAction.Response>> listener = ActionListener.wrap(r -> fail("Expected exception"), exception::set);
108108

109109
bulkExecutor(inferenceRunner).execute(requestIterator(requests), listener);
110110

@@ -131,7 +131,7 @@ public void testInferenceRunnerSometimesFails() throws Exception {
131131
});
132132

133133
AtomicReference<Exception> exception = new AtomicReference<>();
134-
ActionListener<List<InferenceAction.Response>> listener = ActionListener.wrap(r -> fail("Expceted exception"), exception::set);
134+
ActionListener<List<InferenceAction.Response>> listener = ActionListener.wrap(r -> fail("Expected exception"), exception::set);
135135

136136
bulkExecutor(inferenceRunner).execute(requestIterator(requests), listener);
137137

0 commit comments

Comments
 (0)