• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mtreinish / stestr
63%
master: 68%

Build:
Build:
LAST BUILD BRANCH: gha-ci
DEFAULT BRANCH: master
Repo Added 22 Dec 2016 05:02AM UTC
Files 33
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-log-0-error
branch: fix-log-0-error
CHANGE BRANCH
x
Reset
  • fix-log-0-error
  • 1.1.0
  • 2.0.0
  • 2.1.0
  • 2.1.1
  • 2.2.0
  • 2.3.0
  • 2.3.1
  • 2.4.0
  • 2.5.0
  • 2.5.1
  • 2.6.0
  • 3.0.0
  • 3.0.1
  • 3.1.0
  • add-3.8-support
  • add-abbreivate
  • add-all-attachments
  • add-azure-py38
  • add-code-of-conduct-1
  • add-contributing-to-readme
  • add-license-metadata-to-package
  • add-mailmap
  • add-pdb-mode
  • add-py2-drop-notice
  • add-py37
  • add-py39-support
  • add-repo-metadata
  • add-return-code-tests-from-func
  • add-subunit-output-check
  • attempt-cinder-fix
  • azure-pipelines
  • cap-pbr
  • cap-pip
  • change-readme-title
  • cleanup-failing-man-section
  • cli-man
  • debug-by-default
  • deprecate-partial
  • doc-fixes
  • drop-reno-docs
  • drop-universal-wheel-travis
  • dynamic-schedule
  • fix-docs
  • fix-encoding-py3
  • fix-invalid-concurrency-value-error
  • fix-load-reported-time
  • fix-man-link
  • fix-metadata-pbr
  • fix-min-failure
  • fix-nonetype-timestamps
  • fix-partial-load-help
  • fix-py3-import-error-formatting
  • fix-run-desc
  • fix-run-subunit
  • fix-serial-selection
  • fix-six-cast
  • fix-stdin-load
  • fix-subunit-stdout
  • fix-test-bisect
  • fix-trove-classifiers
  • fix-unxsuccess
  • fix-warning-message
  • fix-whitelist-arg
  • gha-ci
  • ignore-rm-errors
  • invalid-regex-error
  • irc-readme
  • limit-testing
  • man-page-building
  • man-page-generation
  • manpage-config-fixes
  • master
  • missing-docs
  • only-use-stdlib-runner-py35
  • prep-stestr-3.0.0
  • pytest-style-paths
  • really-uncap-pbr
  • release-automation
  • remove-python2-support
  • remove-windows-skips
  • revert-166-cap-pip
  • revert-173-uncap-pip
  • rework-attachment-option-logic
  • rework-readme-overview
  • subunit-flag-doc-update
  • subunit_run_vendor
  • supress-stdout-attach
  • templates
  • testr-equiv-string-code
  • uncap-pip
  • update-hacking
  • update-license
  • update-package-summary
  • update-readme
  • update-travis
  • use-context-managers
  • use-testtools_wasSuccessful
  • user-config
  • user-config-functional-tests

pending completion
592

push

travis-ci

mtreinish
Handle zero and negative times in stestr slowest

To calculate a starting point for the column width for printing the
slowest tests table the first result was pulled from the list of test
times and the number of digits was counted. However, in the case of a
0 or negative number this doesn't work because taking a base 10 log of
that will fail. This commit address this corner case by using the first
value > 0 and if none can be found defaulting to 1 digit.

301 of 651 branches covered (46.24%)

1325 of 2111 relevant lines covered (62.77%)

0.63 hits per line

Relevant lines Covered
Build:
Build:
2111 RELEVANT LINES 1325 COVERED LINES
0.63 HITS PER LINE
Source Files on fix-log-0-error
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
592 fix-log-0-error Handle zero and negative times in stestr slowest To calculate a starting point for the column width for printing the slowest tests table the first result was pulled from the list of test times and the number of digits was counted. However, in the... push 29 Nov 2017 08:20PM UTC mtreinish travis-ci pending completion  
See All Builds (966)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc