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

m-lab / scraper-sync / 184
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: turn-it-down
DEFAULT BRANCH: master
Ran 04 Oct 2017 04:16PM UTC
Jobs 1
Files 2
Run time 1s
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

pending completion
184

push

travis-ci

gfr10598
Add request and datastore time histos
# Test coverage is as follows:
# Name           Stmts   Miss  Cover   Missing
# --------------------------------------------
# sync.py          226      0   100%
# sync_test.py     225      0   100%
# --------------------------------------------
# TOTAL            451      0   100%
#
# The Python linter found the following issues:
#
# ------------------------------------
# Your code has been rated at 10.00/10
#
#
# A selection of Python formatters recommend the following changes:
#   unify :
#   autoflake :
#   autopep8 --max-line-length 80 -d :
# --- original/sync.py
# +++ fixed/sync.py
# @@ -101,6 +101,7 @@
#  DATASTORE_TIMES = prometheus_client.Histogram(
#      'datastore_time_seconds',
#      'Running time of datastore requests')
# +
#
#  class SyncException(Exception):
#      """The exceptions this system raises."""
# @@ -166,6 +167,7 @@
#          answer[k] = status_entity.get(k, '')
#      return answer
#
# +
#  @DATASTORE_TIMES.time()
#  def get_fleet_data(namespace, rsync_url_fragment=None):
#      """Returns a list of dictionaries, one for every entry requested.
# @@ -202,7 +204,7 @@
#          elif parsed_path.path == '/json_status':
#              self.do_scraper_status(parsed_path.query)
#          else:
# -#            with REQUEST_TIMES.time()
# +            #            with REQUEST_TIMES.time()
#              self.send_error(404)
#
#      @REQUEST_TIMES_ROOT_URL.time()
#   docformatter --no-blank --wrap-summaries 80 --wrap-descriptions 80 :

451 of 451 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 184.1 04 Oct 2017 04:16PM UTC 0
100.0
Travis Job 184.1
Source Files on build 184
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #184
  • f236fb05 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

© 2026 Coveralls, Inc