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

cross-browser-tests-runner / cross-browser-tests-runner / 170 / 4
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 11 Oct 2017 10:14AM UTC
Files 20
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

11 Oct 2017 08:34AM UTC coverage: 76.822%. First build
CBTR_TEST="unit-tests-2" TEST_TYPE="unit"

push

travis-ci

reeteshranjan
Fixes #25

There is a race condition between test.stop() and native runner
monitor.

Our stop implementation ensures that after a DELETE call, the status
returned for a given job does say 'stopped', which happens with retries.
The native runner monior is sneaking through this period to see twice
that status is stopped but native runner has not marked it as stopped
yet.

The solution used here is that as soon as the test results arrive and
we find a valid non-stopped test to stop, a state 'nativeRunnerStopping'
is added to the test. When native runner monitor sees this state, it
just won't process this test any more to figure out if it has been not
reported yet etc. So for actually failing tests that do not respond back,
the earlier logic (now encapsulated under the if condition checking for
this state) comes into play, and would determine correctly, free of the
race conditions, that the test did not stop correctly.

96 of 131 branches covered (73.28%)

Branch coverage included in aggregate %.

315 of 404 relevant lines covered (77.97%)

66.02 hits per line

Source Files on job 170.4 (CBTR_TEST="unit-tests-2" TEST_TYPE="unit")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 170
  • Travis Job 170.4
  • 1f0a865b on github
  • Next Job for CBTR_TEST="unit-tests-2" TEST_TYPE="unit" on master (#172.4)
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