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

TheTorProject / ooni-backend / 230
79%

Build:
DEFAULT BRANCH: master
Ran 12 Jun 2016 08:28AM UTC
Jobs 1
Files 45
Run time 2s
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
230

push

travis-ci

bassosimone
Move state of reports to the filesystem (#91)

* Remove state from in memory to support graceful restart of backend

* Instead of having the report IDs in memory we have two files in the
  temporary raw_reports directory. One named like the report ID is the
  actual reports. Another is instead a file containing the metadata for
  the report.

This implements one of the proposed solutions outlined in #86

* Refactoring of oonibackend startup and move there logic for stale checking

* We consider a report to be stale if current_time - modification time
  of report metadata is > than stale_time

* Improvements based on suggestions from @bassosimone

* Implement a unittest for verifying that the stale report cleaning
  function works.

145 of 145 new or added lines in 6 files covered. (100.0%)

1315 of 2114 relevant lines covered (62.2%)

0.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
oonib/oonibackend.py
13
100.0
oonib/report/handlers.py
25
100.0
oonib/api.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
oonib/bouncer/handlers.py
2
100.0
oonib/report/handlers.py
Jobs
ID Job ID Ran Files Coverage
1 230.1 12 Jun 2016 08:28AM UTC 0
62.2
Travis Job 230.1
Source Files on build 230
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #230
  • 6c4d5e94 on github
  • Prev Build on master (#223)
  • Next Build on master (#234)
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