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

pantsbuild / pants / 4547 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix-bsp-scalac-plugin-paths
DEFAULT BRANCH: main
Ran 21 Apr 2015 06:51PM UTC
Files 322
Run time 17s
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

21 Apr 2015 05:30PM UTC coverage: 69.292% (+0.02%) from 69.277%
CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'"

push

travis-ci

baroquebobcat
Wrap lock around nailgun spawning to protect against worker threads racing to spawn servers

I'm working on parallelizing some jvm related tasks and I ran into the issue that if multiple threads running NailgunTasks attempt to call runjava around the same time, they may end up spawning multiple nailgun servers. This puts a lock around spawning them so that we can be sure they are only spawned once

Testing Done:
CI baking on PR, ran with parallel WIP and saw that no extra servers were spawned.

Bugs closed: 1437

Reviewed at https://rbcommons.com/s/twitter/r/2102/

13083 of 18881 relevant lines covered (69.29%)

0.69 hits per line

Source Files on job 4547.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4547
  • Travis Job 4547.3
  • 85fd6a4a on github
  • Prev Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4545.3)
  • Next Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4557.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc