[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:
parent
65804d25a6
commit
c05e0d90bd
|
@ -230,7 +230,7 @@ public class FsHealthServiceTests extends OpenSearchTestCase {
|
||||||
disruptFileSystemProvider.injectIODelay.set(false);
|
disruptFileSystemProvider.injectIODelay.set(false);
|
||||||
waitUntil(
|
waitUntil(
|
||||||
() -> fsHealthSrvc.getHealth().getStatus() == HEALTHY,
|
() -> fsHealthSrvc.getHealth().getStatus() == HEALTHY,
|
||||||
delayBetweenChecks + (3 * refreshInterval),
|
delayBetweenChecks + (4 * refreshInterval),
|
||||||
TimeUnit.MILLISECONDS
|
TimeUnit.MILLISECONDS
|
||||||
);
|
);
|
||||||
fsHealth = fsHealthSrvc.getHealth();
|
fsHealth = fsHealthSrvc.getHealth();
|
||||||
|
|
Loading…
Reference in New Issue