Skip to content

Conversation

@ykim-akamai
Copy link
Contributor

@ykim-akamai ykim-akamai commented Nov 7, 2024

📝 Description

Added Integration coverage :

  • Linode Disk Encryption (Updated Linode and LKE suites)
  • Linode Config
  • Linode Disk

CI improvement:

  • Add option in CI workflows to execute long-running tests e.g. run_long_tests

Notable refactors and test functions:

  • Refactor LKE tests
  • Refactored and migrated get_random_region_with_caps function to helper.py
  • Added get_disk_ids to return disk ids in helpers_linodes.py
  • Added retry_exec_test_command_with_delay function to retry command in case when particular instance/source is not ready

✔️ How to Test

make MODULE=lke testint
make MODULE=vpc testint
make MODULE=linodes/test_rebuild.py RUN_LONG_TESTS=True testint
make MODULE="linodes/test_configs.py" testint
make MODULE="linodes/test_disk.py" testint

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@ykim-akamai ykim-akamai added the testing for updates to the testing suite in the changelog. label Nov 7, 2024
@ykim-akamai ykim-akamai requested a review from a team as a code owner November 7, 2024 05:36
@ykim-akamai ykim-akamai requested review from ezilber-akamai and jriddle-linode and removed request for a team November 7, 2024 05:36
@ykim-akamai
Copy link
Contributor Author

Disk encryption is not available in all regions. Putting the PR in draft for now

@ykim-akamai ykim-akamai marked this pull request as draft November 7, 2024 05:37
delete_target_id(target="nodebalancers", id=nodebalancer_id)


def get_regions_with_capabilities(capabilities):
Copy link
Contributor Author

@ykim-akamai ykim-akamai Nov 7, 2024

Choose a reason for hiding this comment

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

Refactored and moved to helpers.py

@ykim-akamai ykim-akamai marked this pull request as ready for review November 7, 2024 21:07
@ykim-akamai ykim-akamai changed the title test: Add disk encryption coverage, refactor related functions, code cleanup test: Add test coverage for Disk Encryption, Config, and Disk Nov 8, 2024
Copy link
Contributor

@ezilber-akamai ezilber-akamai left a comment

Choose a reason for hiding this comment

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

LGTM! Tests passing locally.

Copy link
Collaborator

@jriddle-linode jriddle-linode left a comment

Choose a reason for hiding this comment

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

LGTM, working locally.

@ykim-akamai ykim-akamai merged commit 03045d4 into linode:dev Nov 19, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing for updates to the testing suite in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants