-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[FEATURE REQ] LIVE test for mgmt GA Lite packages #35316
Comments
I'm adding test to postgresqlflexibleserver. @v-hongli1 You can leave this out. |
The |
|
|
The |
The |
The |
|
The live test case of the service |
The |
|
The resource removal method is missing in the |
|
The elastic is a SaaS service and the Azure subscription must be associated with a valid payment method, so it is recommended not to add any live test cases for this service. |
Guide https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/HOW_TO_ADD_LIVE_TESTS.md
Sample PR (databricks) #35315
Test can be very simple, just find the basic resource, create it (one can refer to samples for parameters, but it could be wrong; a better place would be Portal and its "export ARM template"), do some get/list, then delete it in
finally
block.Have a pair of
// @embedmeStart
// @embedmeEnd
enclosing the code that create a resource.Autorest.Java will extract it to README.md "Examples" section in next codegen.
Following lib would be avoided at present
test-resources.json/bicep
), e.g. https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/eventgridPS: for shared folder, we should be able to specify another folder for bicep in "tests.mgmt.yml" e.g. https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/communication/communication-tests-template.yml#L14-L17. But better to delay it, as they are not many.
high priority
lower priority
The text was updated successfully, but these errors were encountered: