Skip to content

Commit

Permalink
[TEST] Fix FsHealthServiceTest by increasing the timeout period befor…
Browse files Browse the repository at this point in the history
…e checking the FS health after restoring the FS status (#1813)

Signed-off-by: Tianli Feng <[email protected]>
  • Loading branch information
tlfeng authored Dec 29, 2021
1 parent 65804d2 commit c05e0d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public void testFailsHealthOnHungIOBeyondHealthyTimeout() throws Exception {
disruptFileSystemProvider.injectIODelay.set(false);
waitUntil(
() -> fsHealthSrvc.getHealth().getStatus() == HEALTHY,
delayBetweenChecks + (3 * refreshInterval),
delayBetweenChecks + (4 * refreshInterval),
TimeUnit.MILLISECONDS
);
fsHealth = fsHealthSrvc.getHealth();
Expand Down

0 comments on commit c05e0d9

Please sign in to comment.