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

[TA] Live test with AAD #22794

Merged
merged 3 commits into from
Jul 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions sdk/textanalytics/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: textanalytics
TestMode: RECORD # to make sure recordedData is not null but still testing LIVE mode
Artifacts:
- name: azure-ai-textanalytics
groupId: com.azure
safeName: azureaitextanalytics
# resource creation is disabled because we are trying to test the stable endpoint.
# Will enable it when service rolls out AAD to all region.
DisableAzureResourceCreation: true
EnvVars:
AZURE_TEXT_ANALYTICS_API_KEY: $(java-textanalytics-test-api-key)
Comment on lines -14 to -15
Copy link
Member

Choose a reason for hiding this comment

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

why deleting the env vars?

Copy link
Member Author

@mssfang mssfang Jul 6, 2021

Choose a reason for hiding this comment

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

it for a stable endpoint, which can't delete and then created with testing with AAD.

AZURE_TEXT_ANALYTICS_ENDPOINT: $(java-textanalytics-sdk-endpoint)