Skip to content

Commit 9e27db5

Browse files
committed
tests: Reduce numbers of init and mutate calls in StressTest
This pepares for follow-up changes which will roughly double the runtime of this test.
1 parent 94a214f commit 9e27db5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/code_intelligence/jazzer/mutation/mutator/StressTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
import org.junit.jupiter.params.provider.MethodSource;
9090

9191
public class StressTest {
92-
private static final int NUM_INITS = 500;
93-
private static final int NUM_MUTATE_PER_INIT = 100;
92+
private static final int NUM_INITS = 400;
93+
private static final int NUM_MUTATE_PER_INIT = 80;
9494
private static final double MANY_DISTINCT_ELEMENTS_RATIO = 0.5;
9595

9696
private enum TestEnumTwo {
@@ -386,7 +386,7 @@ public static Stream<Arguments> protoStressTestCases() {
386386
arguments(
387387
new TypeHolder<@NotNull MapField3>() {}.annotatedType(),
388388
"{Builder.Map<Integer,String>} -> Message",
389-
distinctElementsRatio(0.47),
389+
distinctElementsRatio(0.46),
390390
manyDistinctElements()),
391391
arguments(
392392
new TypeHolder<@NotNull MessageMapField3>() {}.annotatedType(),

0 commit comments

Comments
 (0)