-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement RepairRunner using SegmentRunner
A few things are not that great yet: * The tests will go through even if some assertions fail, because they are on other threads. * The tests also need better code reuse; they're too big now. * The RepairRunnerTest.testHangingRepair test is particularly problematic, because the repair run is done on its own thread, which forced me to put a sleep before checking the result. The conclusion is that startNewRepairRun should block. * Exceptions from the SegmentRunner aren't handled.
- Loading branch information
Showing
7 changed files
with
148 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.