Skip to content

Test generation timeout is exceeded 15 sec - 1 min for every run #1028

Closed
@alisevych

Description

@alisevych

Description

Test generation timeout is exceeded 15 sec approximately for every UTBot run.

To Reproduce

  1. Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4
  2. Install one of the latest from main branch
  3. Open test generation dialog for utbot-sample/src/main/java/org/utbot/examples/algorithms/ArraysQuickSort.java for example
  4. Set test generation timeout to 20 sec.
  5. Check when test generation finishes.

Expected behavior

Tests are supposed to be generated during the defined timeout of 20 sec.

Actual behavior

Tests are generation for about 30-35 sec. (on the exact PC)

Environment

Windows 10 Pro
RAM 32.0 GB
Processor Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz 3.60 GHz
IntelliJ IDEA 2022.1.4
Heap memory allocated for IDEA is 2 GB

Additional context

If test generation timeout is set to 60 sec, test generation continues for 75 sec approx.

As discussed with @sergeypospelov and @Markoutte :
Summaries generation and Code generation is not taken into account.
Though currently some of them seems to take much time.
Investigation is needed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions