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

cloudmarker / cloudmarker
90%
master: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Repo Added 17 Dec 2018 06:07PM UTC
Files 92
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

LAST BUILD ON BRANCH mongodbfix
branch: mongodbfix
CHANGE BRANCH
x
Reset
  • mongodbfix
  • 0.1.0
  • alertdocs
  • apidocindent
  • audit-version
  • auditemails
  • azcloud
  • azstorage
  • azurecloud
  • azurecloud-exception
  • azvm_record_type
  • azwebapp
  • badges
  • baseconfig
  • bracket
  • buckets
  • build-matrix
  • changelog
  • clioptions
  • clouderror
  • common-plugins-config
  • consistency
  • copy-ext
  • copyext
  • cov_clean
  • dependabot/pip/cryptography-3.3.2
  • dependabot/pip/httplib2-0.18.0
  • dependabot/pip/httplib2-0.19.0
  • dependabot/pip/pyyaml-5.4
  • dependabot/pip/rsa-4.7
  • dependabot/pip/urllib3-1.26.5
  • dist
  • docfixes
  • doctest-fix
  • email_debug_param_from_config
  • emailbody
  • emaildocs
  • empty-port
  • esstore
  • firewalleventtest
  • firewallnorm
  • firewallruleevent
  • fix-esstore-done
  • fix-unused-input-queue
  • fix_cloud_worker
  • fixbuild
  • fixcoverage
  • fixindent
  • freeze
  • gcpcloudlogs
  • gcpcloudtest
  • iam_policy
  • ignore-virtual-machines
  • ioworkers
  • key_file_name_fix
  • lint
  • load_yaml_safely
  • log
  • logfixes
  • logger-defaults
  • logging-levels
  • master
  • maxrecs
  • mock-records
  • mockplugins
  • mongodbdefaults
  • mongodbtests
  • multiprocessing
  • pluginframework
  • pluginloader
  • readable-version
  • readme
  • remove-email-config
  • removefirewallevent
  • rename_logger
  • renameparams
  • requirements
  • rest
  • reuse-mock
  • rm-venv
  • slackalert
  • smtpssl
  • sphinx
  • sphinx-rst-update
  • splunkfixes
  • splunkhecstore_docs
  • splunkhectokentest
  • splunkstore
  • sub_id_rename
  • tests
  • travis
  • userconfig
  • userdoc
  • userecordterm
  • verdev
  • webapp
  • worker-com-fields
  • worker-error-handling
  • workerlogs

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

Relevant lines Covered
Build:
Build:
2283 RELEVANT LINES 2068 COVERED LINES
2.72 HITS PER LINE
Source Files on mongodbfix
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
885 mongodbfix 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. S... Pull #145 11 Jun 2019 06:04AM UTC web-flow travis-ci-com pending completion  
884 mongodbfix 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. S... push 11 Jun 2019 06:01AM UTC r0hi7 travis-ci-com pending completion  
See All Builds (953)
  • Repo on GitHub
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