Skip to content

Conversation

@qwordy
Copy link
Member

@qwordy qwordy commented Jan 5, 2021

Description

Fix

azure/cli/command_modules/vm/tests/latest/test_vm_commands.py::VMManagedDiskScenarioTest::test_vm_disk_max_shares_etc
azure/cli/command_modules/vm/tests/latest/test_vm_commands.py::DiskAccessTest::test_disk_access
azure/cli/command_modules/vm/tests/latest/test_vm_commands.py::VMGalleryImage::test_gallery_specialized

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@qwordy qwordy requested review from houk-ms and yungezz as code owners January 5, 2021 09:20
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 5, 2021

Compute

recommended=recommendation, disallowed=Disallowed(disk_types=disallowed_disk_types),
purchase_plan=purchase_plan, location=location, eula=eula, tags=(tags or {}),
hyper_vgeneration=hyper_v_generation, features=feature_list)
hyper_v_generation=hyper_v_generation, features=feature_list)
Copy link
Member

Choose a reason for hiding this comment

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

is this due to track2?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it is.

self.cmd('sig image-definition create -g {rg} --gallery-name {g1} --gallery-image-definition image --os-type linux -p publisher1 -f offer1 -s sku1 --features "IsSecureBootSupported=false IsMeasuredBootSupported=false" --hyper-v-generation V2', checks=[
self.check('features[0].name', 'IsSecureBootSupported'),
self.check('features[0].value', 'false'),
self.check('features[0].value', 'false', False),
Copy link
Member

Choose a reason for hiding this comment

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

why the change

Copy link
Member Author

Choose a reason for hiding this comment

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

Service change. It returns "False" not "false"

Copy link
Member

Choose a reason for hiding this comment

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

can the test util be changed to support case-insensitive compare?

Copy link
Member Author

Choose a reason for hiding this comment

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

The "False" I added means case sensitive = False. Default value is True.

@qwordy qwordy merged commit 4191edb into Azure:dev Jan 7, 2021
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