Skip to content

Conversation

@subrata-ms
Copy link
Contributor

@subrata-ms subrata-ms commented Dec 19, 2025

Work Item / Issue Reference

AB#41135

GitHub Issue: #<ISSUE_NUMBER>


Summary

This pull request updates the test suite in tests/test_013_sqlwchar_conversions.py by marking several long-running tests as skipped using the @pytest.mark.skip decorator. The reason provided is that these stress tests have been moved due to their long execution time, particularly affecting Manylinux64 runs. This helps streamline the test runs and avoid timeouts or delays in CI pipelines.

Test Suite Management:

  • Added @pytest.mark.skip to multiple test methods to exclude long-running stress tests from regular test runs, with a note that these have been moved due to their duration on Manylinux64 environments. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Copilot AI review requested due to automatic review settings December 19, 2025 09:57
@github-actions github-actions bot added the pr-size: small Minimal code update label Dec 19, 2025
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 addresses performance issues in CI pipelines by skipping 14 long-running stress tests in the test_013_sqlwchar_conversions.py file. These tests exercise UTF-16 surrogate pair handling and wstring conversions, which are particularly time-consuming on Manylinux64 environments.

Key changes:

  • Added @pytest.mark.skip decorators to 14 test methods covering various Unicode/wstring conversion scenarios
  • Tests span both platform-specific (Unix/Linux) and common test classes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

76%


📈 Total Lines Covered: 5357 out of 7037
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

No lines with coverage information in this diff.


📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.logger_bridge.hpp: 58.8%
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.row.py: 66.2%
mssql_python.helpers.py: 67.5%
mssql_python.pybind.ddbc_bindings.cpp: 69.3%
mssql_python.pybind.ddbc_bindings.h: 71.7%
mssql_python.pybind.connection.connection.cpp: 73.6%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 83.9%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@subrata-ms subrata-ms merged commit 0db1ec9 into main Dec 19, 2025
37 checks passed
@subrata-ms subrata-ms deleted the subrata-ms/CherryPick branch December 19, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: small Minimal code update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants