Skip to content

Conversation

paulmedynski
Copy link
Contributor

Description

- 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)
@paulmedynski paulmedynski added this to the 6.0.3 milestone Sep 3, 2025
@Copilot Copilot AI review requested due to automatic review settings September 3, 2025 11:00
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 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

cheenamalhotra
cheenamalhotra previously approved these changes Sep 3, 2025
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 paulmedynski dismissed stale reviews from benrr101 and cheenamalhotra via 5459c4b September 5, 2025 12:58
- Removed new test that requires other classes not brought over in the cherry-pick.
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