Skip to content

Split protocol tests. Eliminate run_unit_tests.sh #7557

Description

@friofry

Do I like the run_unit_tests.sh, which was overcomplicated before this PR and should have not even existed from the beginning, now +40 lines? Absolutely not.

Go runs tests in parallel out of the box. The reason why we had to build this over-engineered wrapper-script around is simple: protocol package is overloaded and some of the single tests take too much time.

I would rather invest time in:

  • splitting protocol package into smaller parts
  • extract /tests/integration package, to distinct unit and integration tests
  • find long-running unextractable tests and mark them with t.Parallel()

Originally posted by @igor-sirotin in #7549 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions