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

mozilla / mozilla_ci_tools / 1247
49%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2016 06:45PM UTC
Jobs 1
Files 17
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
1247

Pull #454

travis-ci

armenzg
Speed up buildbot_bridge.py test + add logging to tests

The original test for buildbot_bridge did not completely mock everything
that it should. That caused the test to take over 10 seconds to run. In
order to speed this up I narrowed down the test to the creation of a
task and the appropriate setting of the metadata for it (original test
case).

We've also added a test module called helpers.py which allows tests to
easily activate adding debug messages. Doing this helps a lot when using
py.test with the -s flag (do not capture stdout). This helps when trying
to determine if functions are properly patched or not.

I've also renamed all tests making reference to a 'repo' repo name and
instead I'm using 'try' to make string matching easier.  I guess I could
have used 'mock-repo'.
Pull Request #454: Speed up buildbot_bridge.py test + add logging to tests

747 of 1742 relevant lines covered (42.88%)

0.43 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
mozci/platforms.py
5
100.0
mozci/mozci.py
30
100.0
mozci/sources/tc.py
39
100.0
mozci/sources/buildbot_bridge.py
Jobs
ID Job ID Ran Files Coverage
1 1247.1 11 Apr 2016 06:45PM UTC 0
42.88
Travis Job 1247.1
Source Files on build 1247
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1247
  • Pull Request #454
  • PR Base - master (#1245)
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