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

MTV-2146 | Ignore TLS Cert msg when skipCertVerify #1438

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

Conversation

solenoci
Copy link

'TLS certificate cannot be retrieved' message should be ignored when skipVerify flag is set to true.

When user specified they want to skip ceritificate verification we want to just inform the customer about failed connection and not about certificate. The reason behind this is that the GetTlsCertificate is our first attempt to connect to the provider and when connection fails, the customer will still get the certificate error even when they don't care about certificates.

@solenoci solenoci requested review from mnecas and yaacov as code owners March 12, 2025 18:20
'TLS certificate cannot be retrieved' message should be ignored when skipVerify flag is set to true.

When user specified they want to skip ceritificate verification we want to just inform the customer about failed connection and not about certificate. The reason behind this is that the GetTlsCertificate is our first attempt to connect to the provider and when connection fails, the customer will still get the certificate error even when they don't care about certificates.

Signed-off-by: Stefan Olenocin <[email protected]>
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.13%. Comparing base (f1fe5d0) to head (491cd8c).
Report is 49 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1438      +/-   ##
==========================================
- Coverage   15.45%   15.13%   -0.32%     
==========================================
  Files         112      113       +1     
  Lines       23377    24307     +930     
==========================================
+ Hits         3613     3679      +66     
- Misses      19479    20343     +864     
  Partials      285      285              
Flag Coverage Δ
unittests 15.13% <ø> (-0.32%) ⬇️

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.

Copy link
Member

@mnecas mnecas left a comment

Choose a reason for hiding this comment

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

Please add link to the Jira issue to the commit + PR description as reference

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.

3 participants