Skip to content

Execution configuration must not change between states on spoon project #1652

Open
@tyuldashev

Description

@tyuldashev

Description

Some tests are not generated with error Execution configuration must not change between states on spoon-core-7 project

To Reproduce

Steps to reproduce the behavior:

  1. Open utbot project
  2. Open org.utbot.contest.ContestEstimatorKt file
  3. Set filters on project and class:
        methodFilter = "spoon.pattern.internal.node.MapEntryNode.*"
        projectFilter = listOf(
            "spoon-core-7.0.0"
        )
  1. Increase timeout if tests are not generated (val timeLimit = 300`)
  2. Run ContestEstimator

Expected behavior

Tests are generated without errors

Actual behavior
Some tests are not generated due error:

    public void testGenerateTargets_errors3()
     {
        // Couldn't generate some tests. List of errors:
        // 
        // 1 occurrences of:
        // Execution configuration must not change between states
        
    }

Metadata

Metadata

Assignees

Labels

comp-codegenIssue is related to code generatorcomp-contest-estimatorIssue is related to contest estimatorctg-bugIssue is a bug

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions