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

notanumber / xapian-haystack / 204 / 8
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 08 Apr 2018 09:07AM UTC
Files 7
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

28 Oct 2017 06:36AM UTC coverage: 99.017%. Remained the same
DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1

cron

travis-ci

jorgecarleitao
Fixing untrustable os.path.exists

As per https://stackoverflow.com/a/3112717/1067833,
os.path.exists sometimes delivers a wrong value. These are corner
cases, but mine is exactly one:

I run xapian-haystack in a multiprocess environment (indexing and
django server), on an LXC container, which has its mount probably
mounted from an NFS server (I have no control/information over it).

This corner case results the os.path.exists give `True` for one
process and `False` for another, resulting in the exception I
handle with this patch.

907 of 916 relevant lines covered (99.02%)

0.99 hits per line

Source Files on job 204.8 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 195
  • Travis Job 204.8
  • 3c322a95 on github
  • Prev Job for DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1 on master (#202.8)
  • Next Job for DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1 on master (#205.2)
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