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

Fields for Unified Migration Project #428

Conversation

zliang-akamai
Copy link
Member

@zliang-akamai zliang-akamai commented Nov 17, 2023

📝 Description

This is to support the feature from the unified migration project. Tests are failing because lack of fixture, which we can generate when the change is in the production.

✔️ How to Test

make ARGS="-run TestInstance_Resize" fixtures against alpha.
Don't forget making get regions function only to return us-east.

We can't test migrate in the test cases because it requires an admin portal operation prior to the API call, and it don't return any useful value, which makes mocked response ruled out. And it's just a field, should be very easy to test it manually.

@zliang-akamai zliang-akamai requested a review from a team as a code owner November 17, 2023 06:45
@zliang-akamai zliang-akamai requested review from jriddle-linode and lgarber-akamai and removed request for a team November 17, 2023 06:45
@zliang-akamai zliang-akamai changed the base branch from proj/vpc to proj/unified-migration November 17, 2023 06:46
Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

Running fixtures passes as expected after overriding LINODE_URL and explicitly using us-east as the testing region. Nice work!

Copy link
Contributor

@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. thanks for the tip Lena!

@zliang-akamai
Copy link
Member Author

Thanks for the review! Note that test fixtures will be added once we get this feature on the production server.

@zliang-akamai zliang-akamai merged commit 3a4cc70 into linode:proj/unified-migration Nov 28, 2023
2 of 3 checks passed
@zliang-akamai zliang-akamai deleted the zhiwei/proj-unified-migration branch November 28, 2023 21:35
zliang-akamai added a commit that referenced this pull request Dec 18, 2023
* Add fields for unified migration (#428)

* Add fixture for TestInstance_Resize
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.

3 participants