Skip to content

Commit ee51a49

Browse files
committed
test fix
1 parent e2e87f7 commit ee51a49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/RestoreInProgressAllocationDeciderTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ public void testCanAllocatePrimaryExistingInRestoreInProgress() {
168168
assertThat(
169169
decision.getExplanation(),
170170
startsWith(
171-
"shard has failed to be restored from the snapshot [_repository:_existing/_uuid] - manually close or delete the index "
171+
"shard has failed to be restored from the snapshot [default:_repository:_existing/_uuid]"
172+
+ " - manually close or delete the index "
172173
+ "[test] in order to retry to restore the snapshot again or use the reroute API to force the allocation of "
173174
+ "an empty primary shard. Details: [restore_source[_repository/_existing], failure "
174175
+ "java.io.IOException: i/o failure"

0 commit comments

Comments
 (0)