We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a7c6a2 commit d16532dCopy full SHA for d16532d
internal-api/src/test/java/datadog/trace/api/TagMapFuzzTest.java
@@ -16,6 +16,7 @@
16
public final class TagMapFuzzTest {
17
static final int NUM_KEYS = 128;
18
static final int MAX_NUM_ACTIONS = 32;
19
+ static final int MIN_NUM_ACTIONS = 8;
20
21
@Test
22
void test() {
@@ -932,7 +933,7 @@ public static OptimizedTagMap test(TestCase test) {
932
933
}
934
935
public static TestCase generateTest() {
- return generateTest(ThreadLocalRandom.current().nextInt(MAX_NUM_ACTIONS));
936
+ return generateTest(ThreadLocalRandom.current().nextInt(MIN_NUM_ACTIONS, MAX_NUM_ACTIONS));
937
938
939
public static TestCase generateTest(int size) {
0 commit comments