Skip to content

Warm up the database in Spring integration tests #2350

@EgorkaKulikov

Description

@EgorkaKulikov

Description

It is better to create some "fake" operations of adding data to the database and removing it before real test generation.
If some small values are used as id, fuzzer may just guess it, so generated test may not be reliable.

Even though we reset some Spring beans between the tests, database tables ids are not reset, so some warm up will highly likely help to avoid ids clashes.

Metadata

Metadata

Assignees

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