Skip to content

Commit 129c04f

Browse files
committed
Limit fuzzing cases for a field accessors
1 parent 77b51a9 commit 129c04f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utbot-fuzzers/src/main/kotlin/org/utbot/fuzzer/providers/ObjectModelProvider.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class ObjectModelProvider : ModelProvider {
109109
)
110110

111111
return fuzz(syntheticClassFieldsSetterMethodDescription, nonRecursiveModelProvider)
112+
.take(100) // limit the number of fuzzed values in this particular case
112113
.map { fieldValues ->
113114
val fuzzedModel = assembleModel(idGenerator.asInt, constructorId, emptyList())
114115
val assembleModel = fuzzedModel.model as? UtAssembleModel ?: error("Expected UtAssembleModel but ${fuzzedModel.model::class.java} found")

0 commit comments

Comments
 (0)