Skip to content

Commit eb233ff

Browse files
committed
Fix test log message
1 parent cbc989a commit eb233ff

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

server/src/internalClusterTest/java/org/elasticsearch/snapshots/CorruptedBlobStoreRepositoryIT.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,10 +764,9 @@ public void testSnapshotWithMissingShardLevelIndexFile() throws Exception {
764764
}
765765

766766
if (randomBoolean()) {
767-
logger.info(
768-
"--> restoring the snapshot, the repository should not have lost any shard data despite deleting index-N, "
769-
+ "because it uses snap-*.data files and not the index-N to determine what files to restore"
770-
);
767+
logger.info("""
768+
--> restoring the snapshot, the repository should not have lost any shard data despite deleting index-*, \
769+
because it uses snap-*.dat files and not the index-* to determine what files to restore""");
771770
indicesAdmin().prepareDelete("test-idx-1", "test-idx-2").get();
772771
RestoreSnapshotResponse restoreSnapshotResponse = clusterAdmin().prepareRestoreSnapshot(
773772
TEST_REQUEST_TIMEOUT,

0 commit comments

Comments
 (0)