Skip to content

Commit 6d2d5bf

Browse files
Adjust Assertion Message for 7.13 (#75157)
The message here is different in 7.13 from other versions, didn't notice that in the backport. closes #75145
1 parent 4e32a10 commit 6d2d5bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,9 +1139,7 @@ public void testConcurrentSnapshotAndRepoDelete() throws Exception {
11391139
} catch (Exception e) {
11401140
assertThat(
11411141
e.getMessage(),
1142-
containsString(
1143-
"trying to modify or unregister repository [test-repo] that is currently used (snapshot deletion is in progress)"
1144-
)
1142+
containsString("trying to modify or unregister repository that is currently used")
11451143
);
11461144
}
11471145
for (ActionFuture<AcknowledgedResponse> deleteFuture : deleteFutures) {

0 commit comments

Comments
 (0)