Skip to content

Commit

Permalink
Increase timeouts for SegmentRunner in SegmentRunnerTest.
Browse files Browse the repository at this point in the history
Test failures were like:
```
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.531 sec <<< FAILURE! - in io.cassandrareaper.unit.service.SegmentRunnerTest
failureTest(io.cassandrareaper.unit.service.SegmentRunnerTest)  Time elapsed: 1.053 sec  <<< ERROR!
java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<RUNNING> but was:<NOT_STARTED>
  at io.cassandrareaper.unit.service.SegmentRunnerTest.failureTest(SegmentRunnerTest.java:366)
Caused by: java.lang.AssertionError: expected:<RUNNING> but was:<NOT_STARTED>
```
  • Loading branch information
michaelsembwever authored and adejanovski committed Sep 28, 2017
1 parent 61a8ac4 commit 2aff661
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public JmxProxy connect(final Optional<RepairStatusHandler> handler, String host
context,
segmentId,
Collections.singleton(""),
1000,
5000,
0.5,
RepairParallelism.PARALLEL,
"reaper",
Expand Down Expand Up @@ -354,7 +354,7 @@ public JmxProxy connect(final Optional<RepairStatusHandler> handler, String host
context,
segmentId,
Collections.singleton(""),
1000,
5000,
0.5,
RepairParallelism.PARALLEL,
"reaper",
Expand Down

0 comments on commit 2aff661

Please sign in to comment.