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

cloudmarker / cloudmarker / 885 / 2
90%
master: 84%

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

11 Jun 2019 05:59AM UTC coverage: 90.485%. Remained the same
885.2

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

490 of 544 branches covered (90.07%)

Branch coverage included in aggregate %.

2068 of 2283 relevant lines covered (90.58%)

0.91 hits per line

Source Files on job 885.2
  • 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 720
  • Travis Job 885.2
  • bffbf69c on github
  • Prev Job for on mongodbfix (#883.1)
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