Skip to content

Commit 2a001b8

Browse files
Markouttedenis-fokin
authored andcommitted
Fuzzing fails in concrete execution sometimes #706 (#708)
1 parent ca64647 commit 2a001b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utbot-framework/src/main/kotlin/org/utbot/engine/UtBotSymbolicEngine.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ class UtBotSymbolicEngine(
403403
null
404404
}
405405
else -> {
406-
ObjectModelProvider(ReferencePreservingIntIdGenerator()).withFallback(fallbackModelProvider).generate(
406+
ObjectModelProvider(defaultIdGenerator).withFallback(fallbackModelProvider).generate(
407407
FuzzedMethodDescription("thisInstance", voidClassId, listOf(methodUnderTest.clazz.id), constantValues)
408408
).take(10).shuffled(Random(0)).map { it.value.model }.first().apply {
409409
if (this is UtNullModel) { // it will definitely fail because of NPE,

0 commit comments

Comments
 (0)