Skip to content

Conversation

@apoorvdeshmukh
Copy link
Contributor

@apoorvdeshmukh apoorvdeshmukh commented Jan 13, 2026

Description

Disable JsonTest for managed instance that does not support json type.

Issues

AB#41617

Testing

To be enabled if the instance gets upgraded.

Guidelines

Please review the contribution guidelines before submitting a pull request:

@apoorvdeshmukh apoorvdeshmukh requested a review from a team as a code owner January 13, 2026 05:31
Copilot AI review requested due to automatic review settings January 13, 2026 05:31
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 JSON type tests for Azure SQL Managed Instance, which does not support the JSON data type. The changes ensure tests only run on Azure SQL Database where JSON type is available.

Changes:

  • Added IsNotManagedInstance condition to all 8 test methods in JsonTest.cs to exclude them from running on Managed Instance
  • The implementation is consistent with similar exclusions already applied in other JSON test files (JsonStreamTest.cs and JsonBulkCopyTest.cs)

@ErikEJ
Copy link
Contributor

ErikEJ commented Jan 13, 2026

Does the latest 2025 MI not support json??

@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.22%. Comparing base (952ea88) to head (05fd506).
⚠️ Report is 1 commits behind head on release/6.1.

Additional details and impacted files
@@               Coverage Diff               @@
##           release/6.1    #3885      +/-   ##
===============================================
- Coverage        65.10%   64.22%   -0.88%     
===============================================
  Files              279      279              
  Lines            53302    53302              
===============================================
- Hits             34701    34235     -466     
- Misses           18601    19067     +466     
Flag Coverage Δ
addons 90.82% <ø> (ø)
netcore 68.35% <ø> (+0.10%) ⬆️
netfx 67.77% <ø> (-1.34%) ⬇️

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 84132c1 into release/6.1 Jan 13, 2026
258 checks passed
@apoorvdeshmukh apoorvdeshmukh deleted the dev/ad/disable-incompat-tests-for61 branch January 13, 2026 09:17
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