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

ssoloff / dice-server-js / 272 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2016 05:28PM UTC
Files 39
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

25 Nov 2016 05:17PM UTC coverage: 100.0%. Remained the same
272.1

push

travis-ci

ssoloff
Fix race conditions in client acceptance tests

After changing the build system to Gulp, several client acceptance tests
were observed to intermittently fail.  It is believed the Gulp Cucumber
plugin caused the timing of the tests to change (presumably they are now
running faster because the existing Node process is being forked rather
than spinning up an entirely new Node process via the shell), which
exacerbated the existing race conditions.

The typical race condition involved the Cucumber steps (both When and
Then steps) racing ahead of the expected state of the UI.  For example,
after evaluating two expressions, the test would try to click the Remove
button of the first row in the results table.  However, when the test
loses the race, the second row would have not yet been added.  Thus, the
wrong row was being removed.

This fix changes all assertions to effectively wait for a short period
of time for the assertion to be satisfied.  If the assertion is not
satisfied during that window, it will fail as before as if it were run
synchronously.

2048 of 2048 relevant lines covered (100.0%)

6.01 hits per line

Source Files on job 272.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 272
  • Travis Job 272.1
  • 0814abe2 on github
  • Prev Job for on master (#271.1)
  • Next Job for on master (#273.1)
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