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

share / sharedb-mongo / 377 / 3
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: mongo-8
DEFAULT BRANCH: master
Ran 02 Dec 2020 04:29PM UTC
Files 2
Run time 0s
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

02 Dec 2020 04:28PM UTC coverage: 91.081% (+0.01%) from 91.069%
MONGODB_VERSION="3.6"

Pull #100

travis-ci

Alec Gibson
Early return `close()` if already closed

It can be surprising to call `db.close()` multiple times and get an
error because we've already closed.

This change swallows the already closed error if caught in `db.close()`.

Note that a test will be added for this upstream in `sharedb`:
https://github.com/share/sharedb/pull/412
Pull Request #100: Early return `close()` if already closed

400 of 484 branches covered (82.64%)

674 of 740 relevant lines covered (91.08%)

239.94 hits per line

Source Files on job 377.3 (MONGODB_VERSION="3.6")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 355
  • Travis Job 377.3
  • c3546201 on github
  • Prev Job for MONGODB_VERSION="3.6" on close-early-return (#375.3)
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