mirror of https://github.com/apache/cassandra
Test failure: org.apache.cassandra.repair.ConcurrentIrWithPreviewFuzzTest
patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-18890
This commit is contained in:
parent
b07034eeb7
commit
d828cd0228
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
package org.apache.cassandra.repair;
|
package org.apache.cassandra.repair;
|
||||||
|
|
||||||
import java.time.Duration;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
@ -43,7 +42,7 @@ public class ConcurrentIrWithPreviewFuzzTest extends FuzzTestBase
|
||||||
{
|
{
|
||||||
// to avoid unlucky timing issues, retry until success; given enough retries we should eventually become success
|
// to avoid unlucky timing issues, retry until success; given enough retries we should eventually become success
|
||||||
DatabaseDescriptor.getRepairRetrySpec().maxAttempts = new RetrySpec.MaxAttempt(Integer.MAX_VALUE);
|
DatabaseDescriptor.getRepairRetrySpec().maxAttempts = new RetrySpec.MaxAttempt(Integer.MAX_VALUE);
|
||||||
qt().withPure(false).withExamples(2).withTimeout(Duration.ofMinutes(1)).check(rs -> {
|
qt().withPure(false).withExamples(1).check(rs -> {
|
||||||
Cluster cluster = new Cluster(rs);
|
Cluster cluster = new Cluster(rs);
|
||||||
enableMessageFaults(cluster);
|
enableMessageFaults(cluster);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue