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

Enable dormant/inactive tests #13554

Merged
merged 27 commits into from
Jun 10, 2024
Merged

Conversation

simondeziel
Copy link
Member

@simondeziel simondeziel commented Jun 5, 2024

We currently have a few inactive test functions:

$ ./test/lint/test-tests.sh | grep ^\+test_
+test_clustering_upgrade
+test_clustering_upgrade_large
+test_image_import_existing_alias
+test_init_dump
+test_projects_copy
+test_remote_url_with_token

The new lint script ensures:

  • we don't try to skip required tests
  • we don't erroneously use a "test_" prefix for skipped or required tests
  • we run every existing test functions except those marked as skipped

@simondeziel simondeziel force-pushed the enable-more-tests branch 15 times, most recently from 406ee39 to a4395b1 Compare June 8, 2024 19:35
This aligns with the other test functions.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Drop bogus "test_" prefix in LXD_REQUIRED_TESTS

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…extension

Also cleanup the exported file once done.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…_token()

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…onfig dump

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…fig dump

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
It is not clear when the dump format changed but since the
`core.trust_password` support is going away
(canonical#13567), let's not bother with it for
now.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…d projects

canonical#13539 changed the behavior so that
queries to projects that are not authorized will succeed but the instance list
will be empty.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Thanks!

@tomponline tomponline marked this pull request as ready for review June 10, 2024 07:03
@tomponline tomponline merged commit d5ec06f into canonical:main Jun 10, 2024
29 checks passed
@simondeziel simondeziel deleted the enable-more-tests branch June 10, 2024 12:57
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