-
Notifications
You must be signed in to change notification settings - Fork 315
[5.2 DRAFT] Stabilize CI Pipelines #3598
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/5.2
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 critical fixes from previous changes to address macOS test failures by implementing database name length constraints and configurable test timeouts.
- Reduced database name limit from 128 to 96 characters to prevent macOS test failures
- Added configurable timeout parameter for test jobs, defaulting to 90 minutes to handle longer-running tests
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs | Modified GetUniqueNameForSqlServer to truncate database names to 96 characters maximum |
eng/pipelines/dotnet-sqlclient-signing-pipeline.yml | Added testsTimeout parameter with 90-minute default |
eng/pipelines/common/templates/jobs/run-tests-package-reference-job.yml | Added timeout parameter and timeoutInMinutes configuration |
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
Outdated
Show resolved
Hide resolved
- 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.
- Removing a new test that needs other files that weren't cherry-picked.
- Removed DateOnly tests since that type doesn't exist in 5.2.
…3542) - Adjusted CodeQL suppression to meet the strict requirements of where it may appear relative to the flagged code. - Adding catch for macOS socket error to log and ignore.
Add parameter to sp_help
- Fixed 'async void' tests.
- Upgraded System.Text.Json 6.0.0 to 6.0.11 in the tests to avoid vulnerability warnings.
- Added back test removed in error from cherry-pick. - Removed unnecessary xUnit parallel test class configuration.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Converted this back to a Draft since there is no immediate pressure to get these CI pipelines passing. |
Description