You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DataStreamDeprecationChecker.java
Copy file name to clipboardExpand all lines: x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/DataStreamDeprecationCheckerTests.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,9 @@ public void testOldIndicesCheck() {
57
57
58
58
DeprecationIssueexpected = newDeprecationIssue(
59
59
DeprecationIssue.Level.CRITICAL,
60
-
"Old data stream with a compatibility version < " + Version.CURRENT.major + "0.0",
60
+
"Old data stream with a compatibility version < " + Version.CURRENT.major + ".0",
61
61
"https://ela.st/es-deprecation-ds-reindex",
62
-
"This data stream has backing indices that were created before Elasticsearch " + Version.CURRENT.major + "0.0",
62
+
"This data stream has backing indices that were created before Elasticsearch " + Version.CURRENT.major + ".0",
63
63
false,
64
64
ofEntries(
65
65
entry("reindex_required", true),
@@ -126,9 +126,9 @@ public void testOldIndicesCheckWithClosedAndOpenIndices() {
126
126
127
127
DeprecationIssueexpected = newDeprecationIssue(
128
128
DeprecationIssue.Level.CRITICAL,
129
-
"Old data stream with a compatibility version < " + Version.CURRENT.major + "0.0",
129
+
"Old data stream with a compatibility version < " + Version.CURRENT.major + ".0",
130
130
"https://ela.st/es-deprecation-ds-reindex",
131
-
"This data stream has backing indices that were created before Elasticsearch " + Version.CURRENT.major + "0.0",
131
+
"This data stream has backing indices that were created before Elasticsearch " + Version.CURRENT.major + ".0",
132
132
false,
133
133
ofEntries(
134
134
entry("reindex_required", true),
@@ -285,11 +285,11 @@ public void testOldIndicesIgnoredWarningCheck() {
285
285
286
286
DeprecationIssueexpected = newDeprecationIssue(
287
287
DeprecationIssue.Level.WARNING,
288
-
"Old data stream with a compatibility version < " + Version.CURRENT.major + "0.0 has Been Ignored",
288
+
"Old data stream with a compatibility version < " + Version.CURRENT.major + ".0 has Been Ignored",
289
289
"https://ela.st/es-deprecation-ds-reindex",
290
290
"This data stream has read only backing indices that were created before Elasticsearch "
291
291
+ Version.CURRENT.major
292
-
+ "0.0 and have been marked as OK to remain read-only after upgrade",
292
+
+ ".0 and have been marked as OK to remain read-only after upgrade",
Copy file name to clipboardExpand all lines: x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java
0 commit comments