Skip to content

Conversation

paulmedynski
Copy link
Contributor

Description

- Backported part of #3494 and #3591:
  - Added configurable test jobs timeout, defaulting to 90 minutes.
  - Reduced generated database names to 96 chars to try to fix macOS test failures.
@paulmedynski paulmedynski added this to the 5.2.4 milestone Sep 3, 2025
@Copilot Copilot AI review requested due to automatic review settings September 3, 2025 17:58
@paulmedynski paulmedynski changed the title [5.] Backport mac server name fix [5.2] Backport mac server name fix Sep 3, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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

benrr101
benrr101 previously approved these changes Sep 3, 2025
- 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.
paulmedynski and others added 9 commits September 5, 2025 11:07
- 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.
- 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.
@paulmedynski
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulmedynski paulmedynski changed the title [5.2] Backport mac server name fix [5.2] Stabilize CI Pipelines Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants