mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Increase Timeout in testSLMRetentionAfterRestore (#59979)
This test failed by hitting the 10s default busy assert timeout. Given how involved the retention run is (multiple disk reads, CS updates etc.) we should have a higher timeout here. Also, removed the pointless delete call for the snapshot that we just asserted is gone, at the end of the test. Closes #59956
This commit is contained in:
parent
08de504b44
commit
eaf34bb57d
1 changed files with 1 additions and 8 deletions
|
@ -429,14 +429,7 @@ public class SLMSnapshotBlockingIntegTests extends AbstractSnapshotIntegTestCase
|
|||
// This is what we want to happen
|
||||
}
|
||||
logger.info("--> snapshot [{}] has been deleted", snapshotName);
|
||||
});
|
||||
|
||||
// Cancel/delete the snapshot
|
||||
try {
|
||||
client().admin().cluster().prepareDeleteSnapshot(REPO, snapshotName).get();
|
||||
} catch (SnapshotMissingException e) {
|
||||
// ignore
|
||||
}
|
||||
}, 30L, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
private SnapshotsStatusResponse getSnapshotStatus(String snapshotName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue