diff --git a/raft/src/test/java/org/apache/kafka/raft/internals/RecordsIteratorTest.java b/raft/src/test/java/org/apache/kafka/raft/internals/RecordsIteratorTest.java index 9dfbfd62fbfed..9676831b30e10 100644 --- a/raft/src/test/java/org/apache/kafka/raft/internals/RecordsIteratorTest.java +++ b/raft/src/test/java/org/apache/kafka/raft/internals/RecordsIteratorTest.java @@ -66,7 +66,7 @@ void testEmptyRecords(Records records) { testIterator(Collections.emptyList(), records, true); } - @Property + @Property(tries = 50) public void testMemoryRecords( @ForAll CompressionType compressionType, @ForAll long seed @@ -77,7 +77,7 @@ public void testMemoryRecords( testIterator(batches, memRecords, true); } - @Property + @Property(tries = 50) public void testFileRecords( @ForAll CompressionType compressionType, @ForAll long seed @@ -92,10 +92,10 @@ public void testFileRecords( fileRecords.close(); } - @Property + @Property(tries = 50) public void testCrcValidation( - @ForAll CompressionType compressionType, - @ForAll long seed + @ForAll CompressionType compressionType, + @ForAll long seed ) throws IOException { List> batches = createBatches(seed); MemoryRecords memRecords = buildRecords(compressionType, batches);