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

Valloric / ycmd / 1192
94%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2016 02:32PM UTC
Jobs 1
Files 42
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
1192

push

travis-ci

homu
Auto merge of #315 - micbou:cs-completer, r=puremourning

[READY] Prevent (for good) multiple starts of OmniSharp server for same solution

This PR adds locks to C♯ completer. One in `GetSolutionCompleter` to prevent multiple creation of the same solution completer and another in `StartServer` to prevent multiple starts of the OmniSharp server for the same solution.

Both locks are needed because if one is used for `GetSolutionCompleter` and none for `StartServer`, `StartServer` may be called by two threads inside the same `CsharpSolutionCompleter` object. Conversely (none for `GetSolutionCompleter` and one for `StartServer`), two distincts `CsharpSolutionCompleter` objects using the same solution may be created by two threads and each object will start its own server.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/315)
<!-- Reviewable:end -->

2581 of 3128 relevant lines covered (82.51%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
5 1192.5 (USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true) 24 Jan 2016 02:32PM UTC 0
82.51
Travis Job 1192.5
Source Files on build 1192
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1192
  • aca4a804 on github
  • Prev Build on master (#1187)
  • Next Build on master (#1197)
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