Skip to content

Tests | Failing tests that need to marked flaky #4379

Closed

Description

@cheenamalhotra

Putting a list together for marking tests flaky that still are failing on main pipeline as of today:

  • Failing configs: MacOSLatest_Sql22 | Win11_ARM64_Azure_Sql |
    Test case: Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ConnectionFailoverTests.TransientFault_ShouldConnectToPrimary(errorCode: 40613)
    Failed Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ConnectionFailoverTests.TransientFault_ShouldConnectToPrimary(errorCode: 40613) [1 s]
    EXEC : error Message:  [D:\a\_work\1\s\build.proj]
         System.ArgumentException : Connecting to a mirrored SQL Server instance using the MultiSubnetFailover connection option is not supported.
        Stack Trace:
           at Microsoft.Data.SqlClient.SqlConnectionOptions..ctor(String connectionString) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\src\Microsoft\Data\SqlClient\SqlConnectionOptions.cs:line 402
         at Microsoft.Data.SqlClient.ConnectionPool.SqlConnectionPoolGroupProviderInfo.CreateFailoverPermission(SqlConnectionOptions userConnectionOptions, String actualFailoverPartner) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\src\Microsoft\Data\SqlClient\ConnectionPool\SqlConnectionPoolGroupProviderInfo.cs:line 119
         at Microsoft.Data.SqlClient.ConnectionPool.SqlConnectionPoolGroupProviderInfo.FailoverCheck(Boolean actualUseFailoverPartner, SqlConnectionOptions userConnectionOptions, String actualFailoverPartner) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\src\Microsoft\Data\SqlClient\ConnectionPool\SqlConnectionPoolGroupProviderInfo.cs:line 74
    
  • Configure_FileStream
    Failing configs: Win22_Sql22
    Invoke-Sqlcmd : Cannot continue the execution because the session is in the kill state.
    A severe error occurred on the current command.  The results, if any, should be discarded.
    At D:\a\_work\_temp\e0662202-02ec-4f31-ac8d-ff6c5adfb806.ps1:12 char:1
    + Invoke-Sqlcmd -ServerInstance "$machineName" -ConnectionTimeout 5 @"
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Invoke-Sqlcmd], SqlPowerShellSqlExecutionException
        + FullyQualifiedErrorId : SqlError,Microsoft.SqlServer.Management.PowerShell.GetScriptCommand
     
    ##[error]PowerShell exited with code '1'.
    

Activity

  1. added
    Area\Tests
    on Jun 19, 2026
  2. moved this from To triage to In progress in SqlClient Boardon Jul 16, 2026
  3. self-assigned this
    on Jul 16, 2026
  4. linked a pull request that will close this issueQuarantine new flaky tests #4453on Jul 17, 2026
  5. added a commit that references this issue on Jul 21, 2026
  6. moved this from In progress to Done in SqlClient Boardon Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area\Tests

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions