[TEST] Fix FsHealthServiceTest by increasing the timeout period before checking the FS health after restoring the FS status (#1813)

Signed-off-by: Tianli Feng <ftl94@live.com>
This commit is contained in:
Tianli Feng 2021-12-28 20:50:59 -08:00 committed by GitHub
parent 65804d25a6
commit c05e0d90bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ public class FsHealthServiceTests extends OpenSearchTestCase {
disruptFileSystemProvider.injectIODelay.set(false);
waitUntil(
() -> fsHealthSrvc.getHealth().getStatus() == HEALTHY,
delayBetweenChecks + (3 * refreshInterval),
delayBetweenChecks + (4 * refreshInterval),
TimeUnit.MILLISECONDS
);
fsHealth = fsHealthSrvc.getHealth();