Skip to content

Commit 3a86e9b

Browse files
droberts195astefan
authored andcommitted
[ML] Fix typo (elastic#82313)
Fixes a typo in the name of a new method added in elastic#82304
1 parent f0caab3 commit 3a86e9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

x-pack/plugin/ml/src/internalClusterTest/java/org/elasticsearch/xpack/ml/integration/AnnotationIndexIT.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void testNotCreatedWhenNoOtherMlIndices() {
6565
public void testCreatedWhenAfterOtherMlIndex() throws Exception {
6666
// Creating a document in the .ml-notifications-000002 index should cause .ml-annotations
6767
// to be created, as it should get created as soon as any other ML index exists
68-
createAnnotation();
68+
createNotification();
6969

7070
assertBusy(() -> {
7171
assertTrue(annotationsIndexExists(AnnotationIndex.LATEST_INDEX_NAME));
@@ -76,7 +76,7 @@ public void testCreatedWhenAfterOtherMlIndex() throws Exception {
7676
public void testReindexing() throws Exception {
7777
// Creating a document in the .ml-notifications-000002 index should cause .ml-annotations
7878
// to be created, as it should get created as soon as any other ML index exists
79-
createAnnotation();
79+
createNotification();
8080

8181
assertBusy(() -> {
8282
assertTrue(annotationsIndexExists(AnnotationIndex.LATEST_INDEX_NAME));
@@ -118,7 +118,7 @@ public void testReindexing() throws Exception {
118118
public void testReindexingWithLostAliases() throws Exception {
119119
// Creating a document in the .ml-notifications-000002 index should cause .ml-annotations
120120
// to be created, as it should get created as soon as any other ML index exists
121-
createAnnotation();
121+
createNotification();
122122

123123
assertBusy(() -> {
124124
assertTrue(annotationsIndexExists(AnnotationIndex.LATEST_INDEX_NAME));
@@ -206,7 +206,7 @@ public void testNotCreatedWhenAfterOtherMlIndexAndUpgradeInProgress() throws Exc
206206
try {
207207
// Creating a document in the .ml-notifications-000002 index would normally cause .ml-annotations
208208
// to be created, but in this case it shouldn't as we're doing an upgrade
209-
createAnnotation();
209+
createNotification();
210210

211211
assertBusy(() -> {
212212
try {
@@ -293,7 +293,7 @@ private void createReindexedIndex(String reindexedIndexName) {
293293
// no point in this test as there's nothing in the old index.
294294
}
295295

296-
private void createAnnotation() {
296+
private void createNotification() {
297297
AnomalyDetectionAuditor auditor = new AnomalyDetectionAuditor(client(), getInstanceFromNode(ClusterService.class));
298298
auditor.info("whatever", "blah");
299299
}

0 commit comments

Comments
 (0)