Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run release tests with parallel option #313

Merged
merged 3 commits into from
Mar 9, 2022
Merged

Conversation

f1ames
Copy link
Contributor

@f1ames f1ames commented Mar 3, 2022

This PR adds --parallel 2 flag to "release tests" run on CI. I also had to get rid of "global" lets in CLI test steps (it still needs a proper cleanup but I wasn't focusing on that 🙈). After few runs it seems like tests are stable.

OTOH, I tried to do the same with "dev tests" and there was always something failing, kind of randomly. So it looks like we need to clean up and rework those tests a bit to make it run with --parallel option.

Good news - release tests instead of usual 7 to 9 minutes:

image

now are done in around 5 minutes:

image

Bad news - due to issue with mixed up logs, for parallel run I changed formatter to progress which means it might be harder to conclude something (when test fails) looking on CI output, because there will be no steps (or if enabled, it will be mixed up).

@f1ames f1ames force-pushed the tests/parallel-2 branch 4 times, most recently from 4222bf4 to b70e71b Compare March 4, 2022 15:05
@f1ames f1ames marked this pull request as ready for review March 4, 2022 16:20
@f1ames f1ames changed the title Run release tests with parallel option (WIP) Run release tests with parallel option Mar 4, 2022
@MichalCz
Copy link
Member

MichalCz commented Mar 8, 2022

21 successful checks, so let's merge?

@f1ames f1ames force-pushed the tests/parallel-2 branch from b70e71b to 88670a8 Compare March 9, 2022 10:09
@f1ames
Copy link
Contributor Author

f1ames commented Mar 9, 2022

Rebased onto latest release/0.18.

@f1ames f1ames merged commit 5a11c19 into release/0.18 Mar 9, 2022
@f1ames f1ames deleted the tests/parallel-2 branch March 9, 2022 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants