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

CertificateTests are broken #2805

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

David-Engel
Copy link
Contributor

OpeningConnectionWitHNICTest and OpenningConnectionWithGoodCertificateTest are both broken and fail if the TCPConnectionString doesn't include TrustServerCertificate=true. The tests are supposed to install a self-signed certificate to the localhost SQL Server instance and add it to the root cert store so that it is trusted by the system. But it doesn't work and needs to be fixed.

RemoteCertificateNameMismatchErrorTest was already flagged as an active issue (26934), but I can't find that issue number anywhere, so updating that number to include in the new issue I filed internally.

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.59%. Comparing base (619fa74) to head (285f7e3).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2805      +/-   ##
==========================================
- Coverage   71.66%   71.59%   -0.07%     
==========================================
  Files         308      308              
  Lines       62297    62297              
==========================================
- Hits        44646    44604      -42     
- Misses      17651    17693      +42     
Flag Coverage Δ
addons 92.90% <ø> (ø)
netcore 75.83% <ø> (-0.09%) ⬇️
netfx 69.64% <ø> (-0.02%) ⬇️

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.

@DavoudEshtehari DavoudEshtehari added the ✔️ Tests Identifier for test related changes label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✔️ Tests Identifier for test related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants