Skip to content

GitHub: Split tests into smaller suites - #865

Merged
roosterfish merged 4 commits into
canonical:mainfrom
roosterfish:split_tests
Jul 14, 2025
Merged

GitHub: Split tests into smaller suites#865
roosterfish merged 4 commits into
canonical:mainfrom
roosterfish:split_tests

Conversation

@roosterfish

Copy link
Copy Markdown
Contributor

This allows getting faster test feedback.
Currently the interactive test suite runs for over 2h which is tedious.

The PRs finally splits tests into more granular suites.

@roosterfish
roosterfish marked this pull request as ready for review July 10, 2025 16:31
@roosterfish
roosterfish requested a review from markylaing July 10, 2025 16:32
@roosterfish

roosterfish commented Jul 11, 2025

Copy link
Copy Markdown
Contributor Author

The e2e failure is unrelated to this change.

@markylaing markylaing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nit to keep things similar to the LXD suite.

Comment thread test/main.sh Outdated
This allows getting much faster test feedback by separating out longer tests into their own bucket.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
… test

There also is the reuse_cluster test which doesn't have the extra *member in the name.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Also merge the test groups to lower the nesting level as we can just call the tests
from the first condition's block directly.

Also order by name descending.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish

Copy link
Copy Markdown
Contributor Author

The failing non_ha test is unrelated to this PR. The storage pool creation sometimes is flaky if the MicroCeph cluster just got bootstrapped, added another line here to track it further #653.

@roosterfish
roosterfish merged commit e8ef810 into canonical:main Jul 14, 2025
28 of 29 checks passed
@roosterfish
roosterfish deleted the split_tests branch July 14, 2025 11:07
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