Skip to content

Commit cd8ca81

Browse files
committed
Fix test
1 parent a3fdc4d commit cd8ca81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/index/seqno/ReplicationTrackerRetentionLeaseTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void testRenewNotFoundRetentionLease() {
143143
final RetentionLeaseNotFoundException e = expectThrows(
144144
RetentionLeaseNotFoundException.class,
145145
() -> replicationTracker.renewRetentionLease(id, randomNonNegativeLong(), randomAlphaOfLength(8)));
146-
assertThat(e, hasToString(containsString("retention lease with [" + id + "] not found")));
146+
assertThat(e, hasToString(containsString("retention lease with ID [" + id + "] not found")));
147147
}
148148

149149
public void testAddRetentionLeaseCausesRetentionLeaseSync() {

0 commit comments

Comments
 (0)