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

cloudmarker / cloudmarker / 885
90%
master: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Ran 11 Jun 2019 06:04AM UTC
Jobs 3
Files 43
Run time 30s
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
885

Pull #145

travis-ci-com

web-flow
Fix UserWarning in MongoDBStore

Since Cloudmarker runs in multiprocess mode the
connect call in `cloudmarker/stores/mongodbstore.py`
MongoClient was throwing a `UserWarning: MongoClient
opened before fork. Create MongoClient only after
forking. See PyMongo's documentation for details:
http://api.mongodb.org/python/current/faq.html#is-pymongo-fork-safe
"MongoClient opened before fork. Create MongoClient
only "`.
In this commit the call to MongoDB via is
made lazy. The connection to the database is made on
the first operation.
Pull Request #145: Fix UserWarning in MongoDBStore

438 of 492 branches covered (89.02%)

Branch coverage included in aggregate %.

2068 of 2283 relevant lines covered (90.58%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 885.1 11 Jun 2019 06:04AM UTC 0
90.48
Travis Job 885.1
2 885.2 11 Jun 2019 06:04AM UTC 0
90.48
Travis Job 885.2
3 885.3 11 Jun 2019 06:04AM UTC 0
90.48
Travis Job 885.3
Source Files on build 885
  • 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 Repo
  • Build #885
  • Pull Request #145
  • PR Base - master (#883)
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

© 2025 Coveralls, Inc