Skip to content

Disable JsonTest since json type is not available on managed instance - #3885

Merged
apoorvdeshmukh merged 1 commit into
release/6.1from
dev/ad/disable-incompat-tests-for61
Jan 13, 2026
Merged

apoorvdeshmukh merged 1 commit into
release/6.1from
dev/ad/disable-incompat-tests-for61

Conversation

@apoorvdeshmukh

@apoorvdeshmukh apoorvdeshmukh commented Jan 13, 2026 •

Copy link
Copy Markdown
Contributor

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
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Jan 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

ErikEJ commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Does the latest 2025 MI not support json??

@codecov

codecov Bot commented Jan 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.22%. Comparing base (952ea88) to head (05fd506).
⚠️ Report is 2 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
@github-project-automation github-project-automation Bot moved this from To triage to Done in SqlClient Board Jan 13, 2026
@apoorvdeshmukh apoorvdeshmukh added this to the 6.1.4 milestone Jan 15, 2026
@apoorvdeshmukh apoorvdeshmukh added the Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems. label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants