Add parallletest linter and t.Parallell (almost) everywhere#4173
Conversation
|
overall looks good to me, let's see what CI will say |
|
Thanks for adding this, it is really important to have the tests running in parallel 👍🏽 I would suggest to split this into multiple PRs, one per package. This will help detecting issues early and easily :) I believe some tests won't be able to run in parallel with other tests, as the cluster state ( due to running tests ) would violate the invariants required by some other tests please correct me if I am wrong 🙏🏽 |
|
I must be the only one who's not the biggest fan of running everything in parallel. Mainly for two reasons:
For small unit tests I can see the appeal, but my laptop melts when it tries to run every single kcp e2e test at the same time. Thankfully I can setup env variables to my liking, so I don't have to veto this PR :D |
That'd be over a hundred PRs - I'd rather have one commit that adds
Yes, and a few I already found :D
Correct, but for those we skip parallel requirement or they are using the private kcp instance instead of the shared one.
That's what
I don't think I follow there, generally when a specific test fails I run that test specifically instead of all tests.
This change is largely targeting the unit tests :D None of those had the parallel marker so far.
:D |
|
@ntnn thanks for your follow up. Looks like folks here are more agile regarding merging rules :) LGTM |
When tests run in sequence, I can just do But again, back in the day I had direnv to work around the |
|
/retest CI nodes were rotated, so Athens restarted. |
|
/test pull-kcp-test-e2e-sharded |
|
/approve |
|
LGTM label has been added. DetailsGit tree hash: 32fe88623232ff9097b82381de4fdd81797ecb66 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xrstf The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
|
New changes are detected. LGTM label has been removed. |
|
@xrstf retag pls, because we merged something inbetween I had to update the t.Parallel commit :D |
|
/retest infra failure |
Summary
What Type of PR Is This?
/kind chore
Related Issue(s)
Fixes #
Release Notes