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

ssoloff / dice-server-js / 272
100%

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

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

Jobs
ID Job ID Ran Files Coverage
1 272.1 25 Nov 2016 05:28PM UTC 0
100.0
Travis Job 272.1
Source Files on build 272
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #272
  • 0814abe2 on github
  • Prev Build on master (#271)
  • Next Build on master (#273)
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