-
Notifications
You must be signed in to change notification settings - Fork 314
[6.0] Stabilize CI Pipelines #3596
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: release/6.0
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
This PR backports database name length fixes and adds configurable test timeout to the 6.0 branch to address macOS test failures.
- Reduces maximum generated database name length from 128 to 96 characters to prevent macOS SQL Server naming issues
- Adds configurable test timeout parameter (defaulting to 90 minutes) across all CI pipeline templates to handle longer-running tests on different platforms
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs | Updates database name generation to enforce 96-character limit with proper bracket handling |
eng/pipelines/dotnet-sqlclient-signing-pipeline.yml | Adds testsTimeout parameter with 90-minute default |
eng/pipelines/dotnet-sqlclient-ci-project-reference-pipeline.yml | Adds testsTimeout parameter and passes it to core template |
eng/pipelines/dotnet-sqlclient-ci-package-reference-pipeline.yml | Adds testsTimeout parameter and passes it to core template |
eng/pipelines/dotnet-sqlclient-ci-core.yml | Adds testsTimeout parameter and passes it to test stage template |
eng/pipelines/common/templates/stages/ci-run-tests-stage.yml | Adds testsTimeout parameter and passes it to job templates |
eng/pipelines/common/templates/jobs/run-tests-package-reference-job.yml | Adds timeout parameter and applies timeoutInMinutes configuration |
eng/pipelines/common/templates/jobs/ci-run-tests-job.yml | Adds timeout parameter and applies timeoutInMinutes configuration |
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
Outdated
Show resolved
Hide resolved
5459c4b
- Backported part of #3494 and all of #3591: - Added configurable test jobs timeout, defaulting to 90 minutes. - Reduced generated database names to 96 chars to try to fix macOS test failures.Increase test jobs timeout (#3591) - Fixed the unique name generators to: - Keep max lengths to 30 and 96 characters respectively. - Ensure uniqueness at the start of the names. - Added link to database identifier syntax.
09ad2f2
to
a213d8e
Compare
- Added a new test that was erroneously removed in the earlier cherry-pick. - Added MDS_TEST_CONFIG environment variable to unit test config to override where the confi.json file is read from. - Updated xUnit to 2.9.3 to avoid transitive System.Net.Http vulnerability warnings.
Add parameter to sp_help
- Fixed cherry-pick of old function name.
- Removed macOS Azure SQL test configuration that uses service principal based auth that our Azure tenant no longer supports.
UserManagedIdentityClientId: $(UserManagedIdentityClientId) | ||
LocalDbAppName: $(LocalDbAppName) | ||
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName) | ||
|
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.
Had to remove this entirely since our tenant just doesn't support Service Principal based auth any more. We can add something back for macOS later if necessary.
- Adding console diagnostics to slow enclave tests.
- Adding console diagnostics to slow enclave tests.
- Adding console diagnostics to slow enclave tests.
Description