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

Improve page-test command's failure-handling + reporting #272

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

jeremyh
Copy link
Collaborator

@jeremyh jeremyh commented Mar 24, 2021

  • The failure limit should be based on consecutive errors, rather than total. This is more useful as the purpose of the failure limit is to stop hitting services that are constantly failing.
  • Add a throttle feature to sleep between requests.
  • Print a failure count at the end.
  • Show really slow requests as red

A few minor improvements to the page test.

- Failure limit should be based on consecutive errors, rather than
total. This is more useful as its purpose is to stop hitting services
that are constantly failing.
- Add a throttle feature to sleep between requests.
- Say a failure count at the end.
@codecov
Copy link

codecov bot commented Mar 24, 2021

Codecov Report

Merging #272 (cd38aba) into develop (50a7512) will decrease coverage by 0.33%.
The diff coverage is 9.09%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #272      +/-   ##
===========================================
- Coverage    87.40%   87.07%   -0.34%     
===========================================
  Files           24       24              
  Lines         2819     2832      +13     
===========================================
+ Hits          2464     2466       +2     
- Misses         355      366      +11     
Impacted Files Coverage Δ
cubedash/warmup.py 64.00% <9.09%> (-5.65%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50a7512...cd38aba. Read the comment docs.

@jeremyh jeremyh requested a review from uchchwhash March 24, 2021 03:26
@jeremyh jeremyh changed the title Tiny failure-handling improvements to the page-test command Improve page-test command's failure-handling + reporting Mar 24, 2021
@jeremyh jeremyh merged commit 46fed4e into opendatacube:develop Mar 25, 2021
@jeremyh jeremyh deleted the warmup-throttling branch March 25, 2021 04:35
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.

1 participant