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

fix: update splunksplwrapper dep where it retries service init #790

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

mbruzda-splunk
Copy link
Contributor

@mbruzda-splunk mbruzda-splunk commented Jul 24, 2023

PSA sometimes throws an error "Temporary failure in name resolution" which makes some tests to fail which results in a retry which takes time and is not reliable.

The specific log can be found here: https://github.com/splunk/splunk-add-on-for-cisco-asa/actions/runs/4627279372/job/12563451275

PSA uses splunksplwrapper (helmut) to make requests to Splunk itself, so the fix for this problem is to improve that library. The merged fix can be found here. It makes splunksplwrapper to retry failed requests up to 3 times with 5 seconds delay. This should increase the reliability of the tests.

@codecov-commenter
Copy link

Codecov Report

Merging #790 (125e135) into main (56bb0ae) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main     #790   +/-   ##
=======================================
  Coverage   86.75%   86.75%           
=======================================
  Files          51       51           
  Lines        2763     2763           
=======================================
  Hits         2397     2397           
  Misses        366      366           

@mbruzda-splunk mbruzda-splunk merged commit 99c6594 into main Jul 25, 2023
32 of 33 checks passed
@mbruzda-splunk mbruzda-splunk deleted the fix/retry_service branch July 25, 2023 16:47
srv-rr-github-token added a commit that referenced this pull request Jul 25, 2023
## [5.0.2](v5.0.1...v5.0.2) (2023-07-25)

### Bug Fixes

* update splunksplwrapper dep where it retries service init ([#790](#790)) ([99c6594](99c6594))
@srv-rr-github-token
Copy link
Contributor

🎉 This PR is included in version 5.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants