We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2699fe0 commit 06dadeeCopy full SHA for 06dadee
x-pack/plugin/ilm/src/test/java/org/elasticsearch/xpack/ilm/history/ILMHistoryItemTests.java
@@ -142,7 +142,7 @@ public void testTruncateLongError() throws IOException {
142
"{\"type\":\"illegal_argument_exception\",\"reason\":\""
143
// We subtract a number of characters here due to the truncation being based
144
// on the length of the whole string, not just the "reason" part.
145
- + longError.substring(0, LifecycleExecutionState.MAXIMUM_STEP_INFO_STRING_LENGTH - 47)
+ + longError.substring(0, LifecycleExecutionState.MAXIMUM_STEP_INFO_STRING_LENGTH - 49)
146
)
147
);
148
assertThat((String) item.get("error_details"), matchesPattern(".*\\.\\.\\. \\(\\d+ chars truncated\\).*"));
0 commit comments