Skip to content

Optimize tests #2573

@JanCizmar

Description

@JanCizmar
  • Prevent truncating db between each test
    • I have already started with this in this PR chore: Don't truncate database tables between tests #2572, please continue with rest of the tests
    • If it's not possible to simply make the data unique, please just add the @CleanDbBeforeMethod annotation and dont't waste much time with that
    • Run tests in profiler and search for scheduled operations running in separate thread and prevent this in tests and enable it only for tests where such behaviour is required
    • You can find these by searching for "@scheduled"
    • Join fast suites "data:test", "ee:test", "security:test" to single run, so we don't have to start it in multiple VMs as we do now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coldIt's good to know. But we don't want or cannot do it right now. So lets it in the future.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions