-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix live test issues #44594
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
base: main
Are you sure you want to change the base?
fix live test issues #44594
Changes from all commits
96ad091
541fc6d
1e3b2d8
e56b3ad
1a6c15a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -34,7 +34,7 @@ async def create_async_client(self, endpoint: str, key: str) -> ConversationAnal | |||
| credential = AzureKeyCredential(key) | ||||
| return ConversationAnalysisClient(endpoint, credential) | ||||
|
|
||||
|
|
||||
| @pytest.mark.playback_test_only | ||||
|
||||
| @pytest.mark.playback_test_only |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -18,12 +18,12 @@ extends: | |||||||||
| AZURE_CONVERSATIONS_DEPLOYMENT_NAME: $(clu-project-deployment) | ||||||||||
| AZURE_CONVERSATIONS_WORKFLOW_PROJECT_NAME: $(clu-workflow-project) | ||||||||||
| AZURE_CONVERSATIONS_WORKFLOW_DEPLOYMENT_NAME: $(clu-workflow-project-deployment) | ||||||||||
| CONVERSATIONS_ENDPOINT: $(clu-uri) | ||||||||||
| CONVERSATIONS_KEY: $(clu-key) | ||||||||||
| AUTHORING_ENDPOINT: $(clu-uri) | ||||||||||
| AUTHORING_KEY: $(clu-key) | ||||||||||
| TEXT_ANALYSIS_ENDPOINT: $(clu-uri) | ||||||||||
| TEXT_ANALYSIS_KEY: $(clu-key) | ||||||||||
| CONVERSATIONS_ENDPOINT: $(conversation-uri) | ||||||||||
|
||||||||||
| CONVERSATIONS_KEY: $(conversation-key) | ||||||||||
|
||||||||||
| CONVERSATIONS_KEY: $(conversation-key) | |
| CONVERSATIONS_KEY: $(clu-key) |
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify that the Azure DevOps pipeline variable $(authoring-uri) exists and is properly configured. The variable name has changed from $(clu-uri) to $(authoring-uri), which is a different naming pattern. If this variable is not defined in the pipeline configuration, tests will fail with missing credentials.
| AUTHORING_ENDPOINT: $(authoring-uri) | |
| AUTHORING_ENDPOINT: $(clu-uri) |
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify that the Azure DevOps pipeline variable $(authoring-key) exists and is properly configured. The variable name has changed from $(clu-key) to $(authoring-key), which is a different naming pattern. If this variable is not defined in the pipeline configuration, tests will fail with missing credentials.
| AUTHORING_KEY: $(authoring-key) | |
| AUTHORING_KEY: $(clu-key) |
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify that the Azure DevOps pipeline variable $(text_analysis-uri) exists and is properly configured. The variable name has changed from $(clu-uri) to $(text_analysis-uri), which is a different naming pattern (note the underscore in the middle). If this variable is not defined in the pipeline configuration, tests will fail with missing credentials.
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify that the Azure DevOps pipeline variable $(text_analysis-key) exists and is properly configured. The variable name has changed from $(clu-key) to $(text_analysis-key), which is a different naming pattern (note the underscore in the middle). If this variable is not defined in the pipeline configuration, tests will fail with missing credentials.
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an inconsistency in the naming convention for the Azure DevOps pipeline variables. Lines 21-24 use hyphens without underscores (e.g., conversation-uri, authoring-uri), while lines 25-26 use underscores (e.g., text_analysis-uri, text_analysis-key). This inconsistency could lead to confusion. Consider standardizing the naming convention to either use all hyphens or all underscores consistently.
| TEXT_ANALYSIS_ENDPOINT: $(text_analysis-uri) | |
| TEXT_ANALYSIS_KEY: $(text_analysis-key) | |
| TEXT_ANALYSIS_ENDPOINT: $(text-analysis-uri) | |
| TEXT_ANALYSIS_KEY: $(text-analysis-key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The decorator
@pytest.mark.playback_test_onlycauses these tests to skip when running in live mode. Given that the PR title is "fix live test issues", adding this decorator seems contradictory - it prevents the tests from running live rather than fixing them.If these tests genuinely cannot run in live mode and should only run in playback mode, this change makes sense, but the PR description should explain why. Otherwise, this may be masking the underlying issue rather than fixing it.