Skip to content

Rerun Spring integration tests after minimizations with full context reset  #2363

Open
@IlyaMuravjov

Description

@IlyaMuravjov

Description

Right now we don't fully reset Spring context between concrete executions when generating integration tests with fuzzer, because it's too time consuming (can take several seconds per reset). We do our best to reset relevant parts of context (e.g. reset relevant beans and rollback transactions), however that may still not be enough because, for example, database id generators are not rollbacked with the transaction.

Partial reset of Spring context may lead to generation of unreproducible tests that rely on some code from earlier concrete executions being executed before them.

Action plan

To cope we that, it is suggested to rerun tests that are left after test case minimization with full context reset and use results obtained from these reruns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp-instrumented-processIssue is related to Instrumented processcomp-springIssue is related to Spring projects supportctg-enhancementNew feature, improvement or change request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions