Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run full test suite for every supported Windows SQL Server driver #10997

Merged
merged 6 commits into from
Jan 26, 2022

Conversation

djova
Copy link
Contributor

@djova djova commented Dec 30, 2021

What does this PR do?

Remove the limited "can we connect to SQL Server using all supported drivers?" test in favor of running the full Windows test suite once per supported driver: SQLOLEDB, SQLNCLI11, MSOLEDBSQL, odbc.

We've had bugs in the past that are specific to a single driver and this will ensure that all supported drivers are fully tested.

Also cleanup instance configuration to ensure all instances are derived from the same base "default" instance, which is where we are varying the driver based on the current env.

Motivation

Improve Windows test coverage.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@codecov
Copy link

codecov bot commented Dec 30, 2021

Codecov Report

Merging #10997 (59fe55a) into master (32a4d58) will increase coverage by 0.12%.
The diff coverage is 80.00%.

❗ Current head 59fe55a differs from pull request most recent head 308552a. Consider uploading reports for the commit 308552a to get more accurate results
| Flag | Coverage Δ | |
|---|---|---|
| sqlserver | 83.64% <80.00%> (-0.44%) | ⬇️ |

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

hithwen
hithwen previously approved these changes Jan 12, 2022
@djova djova force-pushed the djova/sqlserver-windows-test-all-drivers branch from 59fe55a to 33c0be0 Compare January 24, 2022 23:07
@djova djova requested a review from a team as a code owner January 24, 2022 23:07
Remove the limited "can we connect to SQL Server using all supported drivers?" test in favor of running the full Windows test suite once per supported driver: SQLOLEDB, SQLNCLI11, MSOLEDBSQL, odbc.

We've had bugs in the past that are specific to a single driver and this will ensure that all supported drivers are fully tested.
@djova djova force-pushed the djova/sqlserver-windows-test-all-drivers branch from 33c0be0 to 1e0a985 Compare January 24, 2022 23:32
Copy link
Member

@alexbarksdale alexbarksdale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@djova djova merged commit 7488aeb into master Jan 26, 2022
@djova djova deleted the djova/sqlserver-windows-test-all-drivers branch January 26, 2022 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants