Skip to content

Conversation

@apoorvdeshmukh
Copy link
Contributor

@apoorvdeshmukh apoorvdeshmukh commented Jan 12, 2026

Description

Disable incompatible tests for managed instance.

  • Unsupported types Json and Vector
  • ConnectionResiliencySPIDTest
  • MARS tests
  • DistributedTransactionTest

This is same as mentioned in #3678

Issues

AB#41617

Testing

Tests will be enabled again once the required permissions are granted on the test user through #3880.

Guidelines

Please review the contribution guidelines before submitting a pull request:

Copilot AI review requested due to automatic review settings January 12, 2026 16:21
@apoorvdeshmukh apoorvdeshmukh requested a review from a team as a code owner January 12, 2026 16:21
Copy link
Contributor

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 pull request disables tests that are incompatible with SQL Managed Instance by adding the IsNotManagedInstance condition to test attributes. The changes align with the requirements mentioned in issue #3678.

Changes:

  • Vector tests (VectorTypeBackwardCompatibilityTests and NativeVectorFloat32Tests) exclude Managed Instance as it doesn't support the Vector type
  • JSON tests (JsonStreamTest and JsonBulkCopyTest) exclude Managed Instance as it doesn't support the JSON type
  • MARS tests (MARSSessionPoolingTest) exclude Managed Instance as MARS is not supported
  • DistributedTransactionTest excludes Managed Instance with documented error behavior
  • ConnectionResiliencySPIDTest excludes Managed Instance

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
VectorTypeBackwardCompatibilityTests.cs Added IsNotManagedInstance condition to 9 vector backward compatibility tests
NativeVectorFloat32Tests.cs Added IsNotManagedInstance condition to 7 native vector tests
DistributedTransactionTest.Windows.cs Added IsNotManagedInstance() call to test condition with explanatory comment
MARSSessionPoolingTest.cs Added IsNotManagedInstance condition to 6 MARS-related tests
JsonStreamTest.cs Added IsNotManagedInstance and AreConnStringsSetup conditions to 2 JSON streaming tests
JsonBulkCopyTest.cs Added IsNotManagedInstance and AreConnStringsSetup conditions to 2 JSON bulk copy tests
ConnectivityTest.cs Added IsNotManagedInstance condition to ConnectionResiliencySPIDTest

paulmedynski
paulmedynski previously approved these changes Jan 12, 2026
@paulmedynski paulmedynski self-assigned this Jan 12, 2026
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.50%. Comparing base (a20f10a) to head (249372f).
⚠️ Report is 2 commits behind head on release/6.1.

Additional details and impacted files
@@               Coverage Diff               @@
##           release/6.1    #3881      +/-   ##
===============================================
+ Coverage        65.42%   67.50%   +2.08%     
===============================================
  Files              279      279              
  Lines            53302    53302              
===============================================
+ Hits             34875    35984    +1109     
+ Misses           18427    17318    -1109     
Flag Coverage Δ
addons 90.82% <ø> (ø)
netcore 72.72% <ø> (+4.34%) ⬆️
netfx 67.70% <ø> (-1.77%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@apoorvdeshmukh apoorvdeshmukh merged commit 952ea88 into release/6.1 Jan 12, 2026
252 checks passed
@apoorvdeshmukh apoorvdeshmukh deleted the dev/ad/disable-incompat-tests-for61 branch January 12, 2026 21:05
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.

5 participants