Skip to content

Commit

Permalink
[test] Limit failure times of SinkSavepointITCase.testRecoverFromSave…
Browse files Browse the repository at this point in the history
…point
  • Loading branch information
JingsongLi committed Aug 15, 2024
1 parent e4d4bdb commit e446759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void testRecoverFromSavepoint() throws Exception {
ThreadLocalRandom random = ThreadLocalRandom.current();
boolean enableFailure = random.nextBoolean();
if (enableFailure) {
FailingFileIO.reset(failingName, 100, 500);
FailingFileIO.reset(failingName, 5, 500);
} else {
FailingFileIO.reset(failingName, 0, 1);
}
Expand Down

0 comments on commit e446759

Please sign in to comment.