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

Add timeout to jenkins API calls #101

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Conversation

Thanhphan1147
Copy link
Collaborator

Format test, add timeout to API request, add name to getLogger().

Checklist

@Thanhphan1147 Thanhphan1147 added the trivial This is a trivial PR label Jan 24, 2024
@Thanhphan1147 Thanhphan1147 requested a review from a team as a code owner January 24, 2024 16:44
Copy link
Contributor

github-actions bot commented Feb 6, 2024

Test coverage for 56b2ebf

Name               Stmts   Miss Branch BrPart  Cover   Missing
--------------------------------------------------------------
src/actions.py        29      0      4      0   100%
src/agent.py          93      0     12      0   100%
src/charm.py          88      0     14      0   100%
src/cos.py            21      0      0      0   100%
src/ingress.py         9      0      0      0   100%
src/jenkins.py       336      0     60      0   100%
src/state.py         107      0     24      0   100%
src/timerange.py      31      0      6      0   100%
--------------------------------------------------------------
TOTAL                714      0    120      0   100%

Static code analysis report

Run started:2024-02-06 22:04:45.036858

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 5880
  Total lines skipped (#nosec): 4
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@Thanhphan1147 Thanhphan1147 merged commit 12083c8 into main Feb 7, 2024
25 checks passed
@Thanhphan1147 Thanhphan1147 deleted the add_timeout_to_api_requests branch February 7, 2024 09:19
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.

3 participants